Skip to main content

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.

Release files for httplib2 0.32.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for httplib2 0.32.0
File Size Uploaded
httplib2-0.32.0.tar.gz 254.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for httplib2 0.32.0
File Interpreter ABI Platform
httplib2-0.32.0-py3-none-any.whl Python 3 none any Details

Total release size: 347.4 kB

Release files / httplib2-0.32.0.tar.gz

Download URL httplib2-0.32.0.tar.gz
Size 254.3 kB
Tags Source
SHA-256 checksum
How to use checksums
48a0ef30a42db65d8f3399045e1d09ab0ba66e3b9efc360d07f80ea55d286025
BLAKE2b-256 checksum
How to use checksums
84f5ccf58de92d61e3ad921119668f54ed36ca1d0cf5dcc5c1657dfb164fd78b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2026.

Transparency log

Release files / httplib2-0.32.0-py3-none-any.whl

Download URL httplib2-0.32.0-py3-none-any.whl
Size 93.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc6705cacdf3fb0a2aba7629fa33c90fd93e30035db0c157325826be177e4816
BLAKE2b-256 checksum
How to use checksums
33a0550eec327e5f5c7b732531c489f5307efec41f047b0d703bd4ca1e5ad2db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.32.0 This release

2 release files

0.31.2

2 release files

0.31.1

2 release files

0.31.0

2 release files

0.30.2

2 release files

0.30.0

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.19.1

2 release files

0.18.1

2 release files

0.18.0

2 release files

0.17.4

2 release files

0.17.3

2 release files

0.17.2

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.1

2 release files

0.12.3

2 release files

0.12.1

1 release file

0.12.0

1 release file

0.11.3

1 release file

0.11.1

1 release file

0.11.0

1 release file

0.10.3

1 release file

0.9.2

2 release files

0.9.1

2 release files

0.9

2 release files

0.8

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

0.7.1

0.7.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page