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)

httr documentation built on Aug. 15, 2023, 9:08 a.m.