has_content: Does the request have content associated with it?

View source: R/content.r

has_contentR Documentation

Does the request have content associated with it?

Description

Does the request have content associated with it?

Usage

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)

hadley/httr documentation built on Nov. 4, 2023, 3:17 a.m.