httpx icon indicating copy to clipboard operation
httpx copied to clipboard

A next generation HTTP client for Python. 🦋

Results 219 httpx issues
Sort by recently updated
recently updated
newest added

Prompted by https://github.com/encode/httpx/pull/2302 which surfaced a warning in the upcoming Python 3.11 as `cgi` is being deprecated as per [PEP-594](https://peps.python.org/pep-0594/).

refactor

- Analogous to https://github.com/encode/starlette/pull/1714/.

Added a few warning filters because: - `_models.py` and `test_multiplart.py` are relying on deprecated`cgi` - `certifi` is using deprecated `importlib.resources.path` - `rich` is using deprecated `sre_constants`

Refs #1424, #1428 ## Terminology * HTTP proxy: a proxy server which supports connecting to it via HTTP. HTTP requests are forwarded, HTTPS requests are tunneled (via HTTP `CONNECT`). —...

enhancement
tls+pki
requests-compat
proxies
httpcore

*Update: Everything we need to consider ought to now be milestoned... https://github.com/encode/httpx/milestone/1* --- ## API Reference Here's a high-level API reference... ### Helper functions `request`, `stream`, `get`, `options`, `head`, `post`,...

1.0 proposal

### httpx version: httpcore 0.14.7 httpx 0.22.0 ### Current Behavior: I want to be able to make requests with and without a proxy. ### Expected Behavior: It should ask for...

need-info

### Checklist - [x] The bug is reproducible against the latest release and/or `master`. - [x] There are no similar issues or pull requests to fix it yet. ### Describe...

enhancement
http/1.1
httpcore

If I call: `httpx.get('https://😇')`, an `InvalidURL` exception is raised. However, if I call: `httpx.get('https:/google.com')`, instead I get an `UnsupportedProtocol` exception, which seems inconsistent. I would expect the latter to raise...

user-experience

It would be nice to start planning support for HTTP/3. aioquic provides a sans-I/O API for HTTP/3 similar to h2 which would make such an integration possible. The main hurdle...

enhancement

Hi. The code in the [document](https://www.python-httpx.org/advanced/#:~:text=files%20%3D%20%7B%27upload%2Dfile%27%3A%20(None%2C%20%27text%20content%27%2C%20%27text/plain%27)%7D) does not work ``` import httpx files = {'upload-file': (None, 'text content', 'text/plain')} r = httpx.post("https://httpbin.org/post", files=files) print(r.text) ``` The error is ``` TypeError:...

bug
docs