httr v0.3


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
insensitive Create a vector with case insensitive name matching.
handle Create a handle tied to a particular host.
handle_pool Maintain a pool of handles.
DELETE Send a DELETE request.
sign_oauth Sign an OAuth request
HEAD Get url HEADers.
oauth_endpoint Describe an OAuth endpoint.
PUT Send PUT request to server.
user_agent Set user agent.
Token-class OAuth token objects.
new_bin Make bin at
init_oauth2.0 Retrieve OAuth 2.0 access token.
config Set curl options.
oauth_exchanger Walk the user through the OAuth2 dance without a local webserver.
oauth_callback The oauth callback url.
parse_media Parse a media type.
http_condition Generate a classed http condition.
hmac_sha1 HMAC SHA1
timeout Set maximum request time.
oauth_app Create an OAuth application.
BROWSE Open specified url in browser.
PATCH Send PATCH request to a server.
oauth_listener Create a webserver to listen for OAuth callback.
oauth_endpoints Popular oauth endpoints.
POST POST file to a server.
parse_url Parse and build urls according to RFC1808.
verbose Give verbose output.
use_proxy Use a proxy to connect to the internet.
httr httr makes http easy.
url_ok Check for an http OK status.
http_status Give information on the status of a request.
authenticate Use http authentication.
content Extract content from a request.
oauth2.0_token Generate an oauth2.0 token.
guess_media Guess the media type of a path from its extension.
new_token Generate and initialise new token.
set_cookies Set cookies.
http_error Take action on http error.
GET GET a url.
init_oauth1.0 Retrieve OAuth 1.0 access token.
upload_file Upload a file with POST or PUT.
oauth1.0_token Generate an oauth1.0 token.
modify_url Modify a url.
add_headers Add additional headers to a request.
with_config Execute code with configuration set.
set_config Set (and reset) global httr configuration.
response The response object.
url_success Check for an http success status.
No Results!

Last month downloads


Type Package
Roxygen list(wrap = FALSE)
License MIT + file LICENSE
Packaged 2014-03-19 02:04:19 UTC; hadley
NeedsCompilation no
Repository CRAN
Date/Publication 2014-03-20 03:03:51

Include our badge in your README