Extract the headers from a response
headers(x)
x
A request object
add_headers() to send additional headers in a request
add_headers()
r <- GET("http://httpbin.org/get") headers(r)