httpx
httpx copied to clipboard
A next generation HTTP client for Python. 🦋
# Summary ### 📦 Chores * Update dependencies * Run Dependabot weekly ### Notes * Please check why Dependabot is not updating requirements.txt, maybe disabled or a bug? * Python...
# Summary https://github.com/encode/httpx/discussions/3269 Allow GZipDecoder to decode multi-member gzip data # Checklist - [x] I understand that this PR may be closed in case there was no previous discussion. (This...
'anyio' is only used in tests, so there is no need to require it in main process. # Summary # Checklist - [x] I understand that this PR may be...
Note on forcing HTTP/2 to be enabled by disabling HTTP/1.1 for the client issue: https://github.com/encode/httpx/issues/3261
Bumps the python-packages group with 4 updates: [mypy](https://github.com/python/mypy), [pytest](https://github.com/pytest-dev/pytest), [ruff](https://github.com/astral-sh/ruff) and [uvicorn](https://github.com/encode/uvicorn). Updates `mypy` from 1.11.0 to 1.11.1 Commits 570b90a Bump version to 1.11 b3a102e Fix RawExpressionType.accept crash with --cache-fine-grained...
#### Description I have encountered decoding errors with some requests that use ASCII encoding. Changing the default encoding to UTF-8 resolves these errors. I propose updating the `normalize_header_key` and `normalize_header_value`...
# Summary This Pull Request addresses the issue of decoding errors encountered when using ASCII encoding in the `normalize_header_key` and `normalize_header_value` functions in `_utils.py`. By changing the default encoding to...
### Issue Description I've encountered intermittent httpx.ReadError exceptions when using high concurrency values with httpx.AsyncClient. This issue does not occur when using aiohttp with similar concurrency levels. ### Reproduction Steps...
- [x] Initially raised as discussion https://github.com/encode/httpx/discussions/3214#discussioncomment-10830925 httpcore 1.0.6 [was released with a change](https://github.com/encode/httpcore/blob/c96fdf7d31c3ab983f4eec4ef7a25cd81edc7ac9/httpcore/_backends/anyio.py#L63-L67) that now maps `SSLError` to `httpcore.ConnectError`. But I'm realizing now that this change only affects asyncio...
See https://github.com/encode/httpx/blob/1bf1fc0ea8417c8e539914aeafdb48f15591ba75/httpx/_client.py#L641 Both on `main` and v0.27.2 `mounts` is not documented in the docstring above, unlike other arguments. 🙏