has_content {httr}R Documentation

Does the request have content associated with it?

Description

Does the request have content associated with it?

Usage

has_content(x)

Examples

Run examples

## Not run: 
has_content(POST("http://httpbin.org/post", body = FALSE))
has_content(HEAD("http://httpbin.org/headers"))

## End(Not run)

[Package httr version 1.4.7 Index]