has_content function

Does the request have content associated with it?

Does the request have content associated with it?

has_content(x)

Examples

## Not run: has_content(POST("http://httpbin.org/post", body = FALSE)) has_content(HEAD("http://httpbin.org/headers")) ## End(Not run)
  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2023-08-15