httpx
httpx copied to clipboard
A next generation HTTP client for Python. 🦋
# Summary ref: https://github.com/encode/httpx/issues/3170 bytes as query string are supported by url spec but not httpx, this PR add support for bytes query value types. it also fix a `QueryParams`...
Example: `no_proxy=fe11::/16` How to reproduce: ``` no_proxy=fe11::/16 python -c 'import httpx; c = httpx.Client()' ``` it will raise: ``` Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/httpx/_urlparse.py", line 346, in normalize_port...
It is currently used indirectly by httpcore's _asyncio_ feature. There is no usage of `anyio` in httpx's codebase.
I have a gevent based celery worker that will not start if httpx is installed. My code does not use HTTPX, it was installed as a dependancy of openai. If...
The [auth docs](https://www.python-httpx.org/advanced/authentication/) reference `httpx.BasicAuthentication()` 3 times, but this class does not exist, it should be replaced with `httpx.BasicAuth()`.
# Summary HTTPStatusError's `__init__` method has required keyword-only arguments. BaseException has a custom `__reduce__` method that can't handle that correctly. As a result, attempting to unpickle a pickled HTTPStatusError fails...
# Summary Closes #717 # Checklist - [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!) - [x]...
Reverts encode/httpx#3174 Tried the style without the leading `$ ` prompts, and not sure it's quite right.
# Summary Closes #3229 # Checklist - [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!) - [x]...
# Summary Add check_ascii_printable function to reduce duplicated code. # Checklist - [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't...