httr v0.2


Monthly downloads



by Hadley Wickham

Tools for working with URLs and HTTP

Provides useful tools for working with HTTP connections. Is a simplified wrapper built on top of RCurl. It is much much less configurable but because it only attempts to encompass the most common operations it is also much much simpler.

Functions in httr

Name Description
http_error Take action on http error.
authenticate Use http authentication.
PATCH Send PATCH request to a server.
handle Create a handle tied to a particular host.
modify_url Modify a url.
config Set curl options.
GET GET a url.
http_status Give information on the status of a request.
content Extract content from a request.
oauth_app Create an OAuth application.
parse_media Parse a media type.
insensitive Create a vector with case insensitive name matching.
sign_oauth2.0 Sign an OAuth 2.0 request
verbose Give verbose output.
new_bin Make bin at
add_headers Add additional headers to a request.
user_agent Set user agent.
use_proxy Use a proxy to connect to the internet.
sign_oauth1.0 Sign an OAuth 1.0 request
DELETE Send a DELETE request.
HEAD Get url HEADers.
with_config Execute code with configuration set.
timeout Set maximum request time.
oauth2.0_token Retrieve OAuth 2.0 access token.
oauth_endpoint Describe an OAuth endpoint.
httr httr makes http easy.
oauth_callback The oauth callback url.
oauth_listener Create a webserver to listen for OAuth callback.
guess_media Guess the media type of a path from it's extension.
handle_pool Maintain a pool of handles.
upload_file Upload a file with POST or PUT.
response The response object.
url_success Check for an http success status.
PUT Send PUT request to server.
set_cookies Set cookies.
oauth1.0_token Retrieve OAuth 1.0 acces token.
parse_url Parse and build urls according to RFC1808.
BROWSE Open specified url in browser.
hmac_sha1 HMAC SHA1
url_ok Check for an http OK status.
POST POST file to a server.
set_config Set (and reset) global httr configuration.
No Results!

Last month downloads


Type Package
License MIT
Collate 'authenticate.r' 'config.r' 'content.r' 'cookies.r' 'handle.r' 'headers.r' 'proxy.r' 'insensitive.r' 'request-bin.r' 'http--request.r' 'response.r' 'url.r' 'verbose.r' 'handle-pool.r' 'handle-url.r' 'http-browse.r' 'http-delete.r' 'http-get.r' 'http-head.r' 'http-post.r' 'http-put.r' 'httr.r' 'timeout.r' 'utils.r' 'oauth-app.r' 'oauth-endpoint.r' 'oauth-listener.r' 'oauth-signature.r' 'oauth-token.r' 'url-query.r' 'http-patch.r' 'user-agent.r' 'upload-file.r' 'content-parse.r' 'media-guess.r' 'media-parse.r' 'response-status.r' 'hmac.r'
Packaged 2012-10-10 21:48:35 UTC; hadley
Repository CRAN
Date/Publication 2012-10-11 05:40:08

Include our badge in your README