httpcore
httpcore copied to clipboard
A minimal HTTP client. ⚙️
# Summary First PR in series of optimizations to improve performance of `httpcore` and even reach performance levels of `aiohttp`. Related discussion https://github.com/encode/httpx/issues/3215#issuecomment-2157885121 **Previously:**  **With PR:**  Request latency...
Fix the error in generating the idle connection list
# Summary Add trailing headers (which currently only supported by http1.1) support for http2
# Todo - [x] Update documentation Hi! It seems we have received many requests for adding total timeout support. In each place where we are using the operation (read, write,...
ref: https://github.com/encode/httpcore/pull/965#discussion_r1795321878 ## File formats: ### `scripts/bench/server.py` ```py # /// script # requires-python = ">=3.8" # dependencies = [ # "uvicorn", # ] # /// import asyncio import uvicorn PORT...
# Summary - closes #964
* `_connection_pool.py` - `_pool.py` * `_http_proxy.py` - `_proxy.py` * `_socks_proxy.py` - `_socks.py` I only call them `_connection_pool.py` when I'm cross & they're misbehaving.
# Summary add the missing connection reset of h2 connection when client cancel the request. fix #943 in discussion with #941
We don't run the benchmarking in CI, and I'd prefer that our standard CI runs are as sharp as possible. Perhaps just move them directly into the benchmarking script, to...
- [x] Initially raised as discussion https://github.com/encode/httpcore/discussions/952 This bug occurs after certain async cancellations, and causes the HTTP pool to get stuck in a degraded state, unable to issue requests....