Skip to content

Extract the headers from a response

Usage

headers(x)

Arguments

x

A request object

See also

add_headers() to send additional headers in a request

Examples

if (FALSE) { # \dontrun{
r <- GET("http://httpbin.org/get")
headers(r)
} # }