httpx icon indicating copy to clipboard operation
httpx copied to clipboard

A next generation HTTP client for Python. 🦋

Results 184 httpx issues
Sort by recently updated
recently updated
newest added
trafficstars

``` python >>> httpx.get('https://example.org', params={b'testparam': b'testvalue'}).url URL('https://example.org?b%27testparam%27=b%27testvalue%27') ``` I don't think this is intentional, as there is an isinstance check for bytes in the ``flatten_queryparams`` function, I'd expect anyone involved...

enhancement

Running: ```python httpx.get('https://adobe.wd5.myworkdayjobs.com/en-US/external_experienced/job/San-Jose/Director--Corporate-Strategy_R109552-2') ``` produces `RemoteProtocolError: multiple Transfer-Encoding headers`. Using `requests`, works fine: ```python requests.get('https://adobe.wd5.myworkdayjobs.com/en-US/external_experienced/job/San-Jose/Director--Corporate-Strategy_R109552-2').headers ``` ``` {'transfer-encoding': 'chunked, chunked', 'Date': 'Tue, 14 Sep 2021 17:10:47 GMT', 'Vary': 'origin,access-control-request-method,access-control-request-headers,accept-encoding', 'Server':...

external

Closes: #2069 Changed `FileField` to allow `str` content, but raise exception on text buffers.

This feature prevents putting a cookie on a domain prefix that multiple parties are capable of registering sub-domains with. Public Suffix List: https://publicsuffix.org There are two libraries in existence already...

enhancement
wontfix

This problem is basically an extension of https://github.com/encode/httpx/discussions/2341 . Suppose one wants to send a POST request with multipart-encoded form data (but NOT uploading files), without any cookie sessions. One...

we are observing closedResourceError when sending multiple requests using httpx async client. httpx version used is 0.19.0. is this issue known and fixed in any later version? Logs: resp =...

the data paramater in httpx.post and httpx.client.post behave differently than requests.post Example with discord's API: This will not work ```py import httpx header = { 'Authorization': "Bot token", } files...

# Summary Discussion here https://github.com/encode/httpx/discussions/3110 On `httpx.client.send()`, now the timeout of the request is set if not set already. This is for cases in which `httpx.client.send()` is used with `httpx.Request()`...

# Summary There are 3 kinds of request cookie headers. ```py request = httpx.Request("GET", "https://www.example.org", cookies=cookies) request.headers["cookie"] #

If an error has keyword-only arguments, it needs this extra `__reduce__` method to ensure that unpickling doesn't raise `TypeError: missing (n) required keyword-only argument(s)`. # Checklist - [x] I understand...