Back to Explore

encode/httpx

GitHub
1 watchersOpen source

Last release: 2024-12-06

HTTPX is a fully featured HTTP client library for Python 3, useful for making HTTP requests with both synchronous and async APIs. It supports HTTP/1.1 and HTTP/2, includes an integrated command line client, and can be used to send requests to WSGI and ASGI applications.

Project status

  • encode/httpx appears to have ongoing upstream activity (latest upstream push on 2026-03-29), but the latest documented version updates shown here are older (last listed update 0.28.1 on 2024-12-06), so it may be in a light maintenance mode with fewer tagged updates.
  • The apparent updates cadence has been irregular, with several months to roughly a year between minor maintenance releases in 2023 to 2024, and a much longer gap since the last listed update in late 2024 (relative to today, 2026-06-09).

AI summary generated 2026-06-09

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 0.28.1

    2024-12-06

    Version 0.28.1 focuses on an SSL behavior fix, specifically addressing the case where `verify=False` is used together with client-side certificates. The code diff also includes additional behavior around request query parameters, plus some dependency and API-surface changes.

  • 0.28.0

    2024-11-28

    Version 0.28.0 primarily formalizes part of a planned SSL configuration API simplification. It also removes two previously deprecated arguments (proxies and app) and includes several behavior tweaks (compact JSON bodies, URL percent escaping rules, and a querystring merge fix).

    Breaking
  • 0.27.2

    2024-08-27

    Release 0.27.2 is a small maintenance release that reintroduces the `URLTypes` type alias shortcut. The only code change is in `httpx/_types.py`, alongside the version bump to 0.27.2 and corresponding changelog updates.

  • 0.27.1

    2024-08-27

    Release 0.27.1 primarily documents adding optional zstd (zstandard) content decoding, plus two targeted fixes: improved InvalidURL error messaging and an ASGITransport type signature correction. The provided diff excerpt also shows multiple documentation updates that appear to correspond to public API surface changes not mentioned in the release notes.

    Features
  • 0.27.0

    2024-02-21

    Version 0.27.0 deprecates the `app=...` shortcut in favor of explicitly using `httpx.WSGITransport()` or `httpx.ASGITransport()`. The release notes also claim fixes for proxy transport `http1` handling and RFC 2069 digest authentication.

  • 0.26.0

    2023-12-20

    Version 0.26.0 adds a new `proxy` argument to route all traffic through a proxy, and deprecates the older `proxies` argument. The release notes also include several URL handling fixes (escaping, `raw_path`, `NO_PROXY`, and `iter_text()`), but the diff shows additional behavioral details around proxy argument validation.

    Features
  • 0.25.2

    2023-11-24

    Version 0.25.2 primarily adds missing `-> None` type annotations to several `__init__()` methods across the codebase (and some test helper classes). In the same release, it also updates dependency/build configuration and makes changes to decoder-related tests.

  • 0.25.1

    2023-11-03

    Version 0.25.1 adds Python 3.12 support and updates compatibility for httpcore 1.0. It also adds a guard that prevents changing `Response.encoding` after `Response.text` has already been accessed. The diff includes additional behavioral changes not mentioned in the release notes.

    BreakingFeatures
  • 0.25.0

    2023-09-11

    Version 0.25.0 drops Python 3.7 support and introduces HTTPS proxy support, plus new transport configuration via a `socket_options` argument. It also changes `Response.raise_for_status()` to return the `Response` instance (enabling fluent chaining) and includes multiple HTTP encoding and transport behavior fixes.

    BreakingFeatures
  • 0.24.1

    2023-05-18

    httpx 0.24.1 focuses on URL parsing and request handling fixes. The release notes cover InvalidURL exception context, percent-encoding behavior, improved NO_PROXY handling for IP literals, multipart upload binary-mode validation, async request logging level alignment, and a NetRCAuth default change.