Contents

httpx 0.28.1

0

The next generation HTTP client.

The next generation HTTP client.

Stars: 15008, Watchers: 15008, Forks: 1037, Open Issues: 138

The encode/httpx repo was created 6 years ago and the last code push was 1 weeks ago.
The project is extremely popular with a mindblowing 15008 github stars!

How to Install httpx

You can install httpx using pip

pip install httpx

or add it to a project with poetry

poetry add httpx

Package Details

Author
None
License
BSD-3-Clause
Homepage
None
PyPi:
https://pypi.org/project/httpx/
Documentation:
https://www.python-httpx.org
GitHub Repo:
https://github.com/encode/httpx

Classifiers

  • Internet/WWW/HTTP
No  httpx  pypi packages just yet.

Errors

A list of common httpx errors.

Code Examples

Here are some httpx code examples and snippets.

GitHub Issues

The httpx package has 138 open issues on GitHub

  • Improve SSL error message with helpful hints (#3713)
  • Fix/invalid url handling - issue 1832
  • Add test for MockTransport elapsed property and implement fix
  • Fix no_proxy to support IPV6 CIDR format
  • Add python-proxy-headers to third_party_packages.md
  • perf: remove redundant .lower() calls in Headers
  • The create_ssl_context() call can consume a lot of memory
  • Use weakref for bound stream _response.
  • Errors for invalid request schemes and missing host.
  • RuntimeError: Attempted to exit a cancel scope that isn't the current tasks's current cancel scope
  • feat: support "auth-int" quality-of-protection when using DigestAuth
  • Zstandard: fix frame boundaries
  • Use zstandard implementation from stdlib (PEP-784)
  • Add Response.raise_for_excepted_status() method
  • Fix tests for Python 3.14

See more issues on GitHub

Related Packages & Articles

sniffio 1.3.1

Sniff out which async library your code is running under

anyio 4.12.1

High-level concurrency and networking framework on top of asyncio or Trio

h11 0.16.0

A pure-Python, bring-your-own-I/O implementation of HTTP/1.1

idna_ssl 1.1.0

Patch ssl.match_hostname for Unicode(idna) domains support