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] *...