httr v0.5

0

Monthly downloads

0th

Percentile

by Hadley Wickham

Tools for working with URLs and HTTP

Provides useful tools for working with HTTP. The API is based around http verbs (GET(), POST(), etc) with pluggable components to control the request (authenticate(), add_headers() and so on).

Functions in httr

Name Description
add_headers Add additional headers to a request.
HEAD Get url HEADers.
hmac_sha1 HMAC SHA1
GET GET a url.
PATCH Send PATCH request to a server.
guess_media Guess the media type of a path from its extension.
insensitive Create a vector with case insensitive name matching.
init_oauth2.0 Retrieve OAuth 2.0 access token.
DELETE Send a DELETE request.
oauth_listener Create a webserver to listen for OAuth callback.
authenticate Use http authentication.
timeout Set maximum request time.
upload_file Upload a file with POST or PUT.
has_content Does the request have content associated with it?
parse_media Parse a media type.
http_condition Generate a classed http condition.
cookies Access cookies in a response.
set_cookies Set cookies.
oauth_app Create an OAuth application.
handle Create a handle tied to a particular host.
oauth_endpoints Popular oauth endpoints.
oauth2.0_token Generate an oauth2.0 token.
cache_info Compute caching information for a response.
init_oauth1.0 Retrieve OAuth 1.0 access token.
oauth1.0_token Generate an oauth1.0 token.
httr httr makes http easy.
modify_url Modify a url.
content Extract content from a request.
oauth_exchanger Walk the user through the OAuth2 dance without a local webserver.
progress Add a progress bar.
parse_http_date Parse and print http dates.
BROWSE Open specified url in browser.
new_token Generate and initialise new token.
oauth_endpoint Describe an OAuth endpoint.
verbose Give verbose output.
PUT Send PUT request to server.
write_disk Control where the response body is written.
Token-class OAuth token objects.
url_ok Check for an http OK status.
with_config Execute code with configuration set.
content_type Set content-type and accept headers.
POST POST file to a server.
oauth_callback The oauth callback url.
handle_pool Maintain a pool of handles.
config Set curl options.
headers Extract the headers from a response
httr_options List available options.
oauth_signature Generate oauth signature.
write_function S3 object to define respose writer.
user_agent Set user agent.
http_status Give information on the status of a request.
parse_url Parse and build urls according to RFC1808.
http_error Take action on http error.
status_code Extract status code from response.
url_success Check for an http success status.
sign_oauth Sign an OAuth request
use_proxy Use a proxy to connect to the internet.
set_config Set (and reset) global httr configuration.
response The response object.
No Results!

Last month downloads

Details

Type Package
VignetteBuilder knitr
License MIT + file LICENSE
Packaged 2014-09-02 15:28:39 UTC; hadley
NeedsCompilation yes
Repository CRAN
Date/Publication 2014-09-02 18:15:25

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/httr)](http://www.rdocumentation.org/packages/httr)