httpx
httpx copied to clipboard
A next generation HTTP client for Python. 🦋
I'm drafting up here what our 1.0 release notes *could* look like, so that we've a single point of reference for deciding what does and does not make the cut....
The starting point for issues should usually be a discussion... https://github.com/encode/httpx/discussions Possible bugs may be raised as a "Potential Issue" discussion, feature requests may be raised as an "Ideas" discussion....
# Summary As part of my job, we needed a variant of `ASGITransport` that supports streaming (as in #2186), and this is my PR to implement that. Something that I...
# Summary Use built-in idna instead of third party library. # Checklist - [x] I understand that this PR may be closed in case there was no previous discussion. (This...
Refs https://github.com/encode/httpx/issues/947#issuecomment-1881173378 Here's how the proposed documentation looks... --- # Network Options There are several advanced network options that are made available through the `httpx.NetworkOptions` configuration class. ```python # Configure...
We have some test cases that import from private namespace inside `httpx`. This is clearly a code-smell, because our test cases *ought* to be tests against our public API, rather...
Discussion: https://github.com/encode/httpx/discussions/3026#discussioncomment-7980059 I don't think we're clear on this yet, but drafting up as a proposal. **TODO**: - [ ] Docs. - [ ] `CHANGELOG.md`. - [ ] Ensure we...
Initially raised as discussion #1533 I've been using `httpx`'s `AsyncClient` as a web spider, however I have noticed that cookies are automatically persisted and there's no easy way to disable...
# Summary https://github.com/encode/httpx/blob/5b5f6d8e172910371b5901f6e21717097274c513/httpx/_transports/default.py#L258-L330 eg. * in `AsyncHTTPTransport`, `AsyncConnectionPool` has the argument of retries passed in, but `AsyncHTTPProxy` and `AsyncSOCKSProxy` have not; * in `HTTPTransport`, it has the same issue. discussion:...
When httpx is used to connect to an http/2 server, and the server disconnects, then httpx will attempt to reuse this connection for the following request. It happens when `keepalive_expiry`...