httpx
httpx copied to clipboard
A next generation HTTP client for Python. 🦋
We have an python application using httpx (v0.27.0). The applications uses httpx to open https connecto to AWS api gateway. This has been stable and working for years. Recently we...
Related discussion: https://github.com/encode/httpx/discussions/3179 May also be related to several discussions tied to InvalidURL exceptions ### Description: Currently, `httpx` raises an `httpx.InvalidURL` exception when a response contains a `Location` header with...
Hi, After upgrading the `python-websockets` from 13.1 to 15.0.1 in Guix, `python-httpx` hangs on its test suite: ``` starting phase `check' Using pytest ============================= test session starts ============================== platform linux...
# Summary Emoji domains (e.g., `https://xn--i-7iq.ws/`, `https://xn--ls8h.la/`) are not allowed by IDNA2008 but are supported by some TLDs, have valid TLS certificates, and work in browsers, curl, and Python's `requests`...
Python Version: 3.12.8 When using asyncio.gather to concurrently execute asynchronous HTTP requests, there is a significant delay in task creation—approximately one second per task—which is unreasonable. The same code runs...
I encountered a problem when using socks5 proxy. Sometimes the server would not get a response during socks5 initialization, causing the thread to hang when using httpx.Client. Based on this...
# Summary Fix typos discovered by codespell * https://pypi.org/project/codespell Add pre-commit for running `codespell` and `ruff` on all code changes. * https://pre-commit.com ```diff - Loding the equivelent dependancy to accodomate...
Hello everyone! I got an error when running the tests and saw that there was already a issue related to this (#3686) # Summary Fix async stream resource leak that...
# Summary This PR resolves #1620 and implements chunked upload for `anyio.open_file`, `trio.open_file` and `aiofiles.open_file` when used as `content=` parameter for `post` and `put` request. And implements support for multipart...
Fixes https://github.com/encode/httpx/discussions/3538 # Summary This fixes an issue where zstd decoding fails. I've included a test case. # Checklist - [ x ] I understand that this PR may be...