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 urlstatus_codethe http status codeheadera named list of headers returned by the servercookiesa named list of cookies returned by the servercontentthe body of the response, as raw vector. Seecontent()for various ways to access the content.timerequest timing informationconfigconfiguration 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()