| response {httr} | R Documentation |
The response object.
Description
The response object captures all information from a request. It includes fields:
-
urlthe url the request was actually sent to (after redirects) -
handlethe handle associated with the url -
status_codethe http status code -
headera named list of headers returned by the server -
cookiesa named list of cookies returned by the server -
contentthe body of the response, as raw vector. Seecontent()for various ways to access the content. -
timerequest timing information -
configconfiguration for the request
Details
For non-http(s) responses, some parts including the status and header may not be interpretable the same way as http responses.
See Also
Other response methods:
content(),
http_error(),
http_status(),
stop_for_status()
[Package httr version 1.4.7 Index]