The response object.
The response object captures all information from a request. It includes fields:
url
the url the request was actually sent to (after redirects)handle
the handle associated with the urlstatus_code
the http status codeheader
a named list of headers returned by the servercookies
a named list of cookies returned by the servercontent
the body of the response, as raw vector. See content()
for various ways to access the content.time
request timing informationconfig
configuration for the requestFor non-http(s) responses, some parts including the status and header may not be interpretable the same way as http responses.
Other response methods: content()
, http_error()
, http_status()
, stop_for_status()
Useful links
Downloads (last 30 days):