Skip to main content

A comprehensive HTTP client library.

Project description

A comprehensive HTTP client library, httplib2 supports many features left out of other HTTP libraries.

HTTP and HTTPS

HTTPS support is only available if the socket module was compiled with SSL support.

Keep-Alive

Supports HTTP 1.1 Keep-Alive, keeping the socket open and performing multiple requests over the same connection if possible.

Authentication

The following three types of HTTP Authentication are supported. These can be used over both HTTP and HTTPS.

  • Digest

  • Basic

  • WSSE

Caching

The module can optionally operate with a private cache that understands the Cache-Control: header and uses both the ETag and Last-Modified cache validators. Both file system and memcached based caches are supported.

All Methods

The module can handle any HTTP request method, not just GET and POST.

Redirects

Automatically follows 3XX redirects on GETs.

Compression

Handles both ‘deflate’ and ‘gzip’ types of compression.

Lost update support

Automatically adds back ETags into PUT requests to resources we have already cached. This implements Section 3.2 of Detecting the Lost Update Problem Using Unreserved Checkout

Unit Tested

A large and growing set of unit tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

httplib2-0.8.zip (116.3 kB view details)

Uploaded Source

httplib2-0.8.tar.gz (110.9 kB view details)

Uploaded Source

File details

Details for the file httplib2-0.8.zip.

File metadata

  • Download URL: httplib2-0.8.zip
  • Upload date:
  • Size: 116.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for httplib2-0.8.zip
Algorithm Hash digest
SHA256 d4271d56fa8f0c39d84711602217574f050c0281efbfaf1cfa8821f0d7f2a714
MD5 c92df9674a18f2b6e20ff2c5b7ada579
BLAKE2b-256 b0c94e9ec1dbce7696d4b474cd7d9469a35bb5af43bac5cf9b0ad5bede36f910

See more details on using hashes here.

File details

Details for the file httplib2-0.8.tar.gz.

File metadata

  • Download URL: httplib2-0.8.tar.gz
  • Upload date:
  • Size: 110.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for httplib2-0.8.tar.gz
Algorithm Hash digest
SHA256 cee59fdaa97a40ac505bb0629bdc8ba9ba79012d099ef11d6d3a284b7e369c9c
MD5 94cb8a3b196dfd19253c46609489d9f1
BLAKE2b-256 f0cf71451a11600b896b3e186361b73a971372cd2c124666798af8cd4ffa6ac8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page