Does the request have content associated with it?
has_content(x)
## Not run: has_content(POST("http://httpbin.org/post", body = FALSE)) has_content(HEAD("http://httpbin.org/headers")) ## End(Not run)
Useful links