headers: Extract the headers from a response

View source: R/headers.r

headersR Documentation

Extract the headers from a response

Description

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

## Not run: 
r <- GET("http://httpbin.org/get")
headers(r)

## End(Not run)

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