response: The response object.

Description Details See Also

Description

The response object captures all information from a request. It includes fields:

Details

  • url the url the request was actually sent to (after redirects)

  • handle the handle associated with the url

  • status_code the http status code

  • header a named list of headers returned by the server

  • cookies a named list of cookies returned by the server

  • content the body of the response, as raw vector. See content for various ways to access the content.

  • time request timing information

  • config configuration for the request

See Also

Other response methods: content, http_error, http_status, stop_for_status



Search within the httr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.