httpcore
httpcore copied to clipboard
A minimal HTTP client. ⚙️
# Summary Discussed at https://github.com/encode/httpx/discussions/3214. `httpcore.SSLError` is subclass of `httpcore.ConnectError`, so it's backward compatible. # Checklist - [x] I understand that this PR may be closed in case there was...
Bumps the python-packages group with 15 updates: | Package | From | To | | --- | --- | --- | | [mkdocs](https://github.com/mkdocs/mkdocs) | `1.6.0` | `1.6.1` | | [mkdocs-autorefs](https://github.com/mkdocstrings/autorefs)...
### Discussed in https://github.com/encode/httpcore/discussions/941 Originally posted by **MarkLux** August 9, 2024 **Background** 1. Using Http2Connection with a high concurrency stream num (e.g over 400 stream_ids reusing single connection) 2. Each...
# Summary Related to https://github.com/agronholm/anyio/pull/761 and https://github.com/encode/httpcore/pull/922#issuecomment-2325139599 This uses AnyIOs `fast_acquire`-mode in its synchronization primitives (instead of replacing AnyIO with vanilla asyncio). Which gives a big performance boost (see above...
# Summary Quick proof of concept related to https://github.com/encode/httpx/discussions/3278 (and possibly https://github.com/encode/httpcore/discussions/778). As committed: ``` $ pytest tests/*/test_http2.py ⋮ tests/_async/test_http2.py ....................F tests/_sync/test_http2.py ..........F ⋮ > assert fetches == [1.0] *...
# Summary This change avoids warnings on Trio by explicitly closing all async generators rather than relying on the garbage collector to do so, as this may cause unpredictable behavior...
Updates the requirements on [werkzeug](https://github.com/pallets/werkzeug) to permit the latest version. Release notes Sourced from werkzeug's releases. 3.1.0 This is the Werkzeug 3.1.0 feature release. A feature release may include new...
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.10.2 to 3.10.11. Release notes Sourced from aiohttp's releases. 3.10.11 Bug fixes Authentication provided by a redirect now takes precedence over provided auth when making requests with...
Given this is a project maintained by volunteers, please read this template to not waste your time, or ours! 😁 --> # Summary If some scenario, to close the program,...
# Summary When using h2 give it priority in tls alpn. In general order of tls alpn is important and servers mostly choose the first version that they support, by...