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.32.0.tar.gz (254.3 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.32.0-py3-none-any.whl (93.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: httplib2-0.32.0.tar.gz
  • Upload date:
  • Size: 254.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for httplib2-0.32.0.tar.gz
Algorithm Hash digest
SHA256 48a0ef30a42db65d8f3399045e1d09ab0ba66e3b9efc360d07f80ea55d286025
MD5 0c45edbd75957af282de53fb428f6b1f
BLAKE2b-256 84f5ccf58de92d61e3ad921119668f54ed36ca1d0cf5dcc5c1657dfb164fd78b

See more details on using hashes here.

Provenance

The following attestation bundles were made for httplib2-0.32.0.tar.gz:

Publisher: publish.yaml on httplib2/httplib2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: httplib2-0.32.0-py3-none-any.whl
  • Upload date:
  • Size: 93.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for httplib2-0.32.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc6705cacdf3fb0a2aba7629fa33c90fd93e30035db0c157325826be177e4816
MD5 74705f14e9caa7619f84a3e79992665f
BLAKE2b-256 33a0550eec327e5f5c7b732531c489f5307efec41f047b0d703bd4ca1e5ad2db

See more details on using hashes here.

Provenance

The following attestation bundles were made for httplib2-0.32.0-py3-none-any.whl:

Publisher: publish.yaml on httplib2/httplib2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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