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 Distribution

httplib2-0.30.0.tar.gz (249.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

httplib2-0.30.0-py3-none-any.whl (91.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: httplib2-0.30.0.tar.gz
  • Upload date:
  • Size: 249.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for httplib2-0.30.0.tar.gz
Algorithm Hash digest
SHA256 d5b23c11fcf8e57e00ff91b7008656af0f6242c8886fd97065c97509e4e548c5
MD5 da5fe5afcd5aa42d1ca02d064d72785a
BLAKE2b-256 5b751d10a90b3411f707c10c226fa918cf4f5e0578113caa223369130f702b6b

See more details on using hashes here.

File details

Details for the file httplib2-0.30.0-py3-none-any.whl.

File metadata

  • Download URL: httplib2-0.30.0-py3-none-any.whl
  • Upload date:
  • Size: 91.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for httplib2-0.30.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d10443a2bdfe0ea5dbb17e016726146d48b574208dafd41e854cf34e7d78842c
MD5 f752e361ef961ca3bccdaa6c3589389b
BLAKE2b-256 877cf35bd530a35654ef3ff81f5e102572b8b620361659e090beb85a73a3bcc9

See more details on using hashes here.

Supported by

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