Did 0.24 break params? #2661
|
Haven't gotten into the details but by upgrading to 0.24 and using a regular dict as GET params that contains e.g. an url like {"q": "http://example.com"} will somehow break the request to, in this case, Twitter's API. If if urllib.parse.quote_plus the "http://example.com", everything works fine (The slash is the culprit). I assume it has to do with
|
Replies: 3 comments 7 replies
|
I posted an issue here: https://github.com/encode/httpx/issues/2670 |
|
So... yes our treatment of
You'll see that the |
|
So even if I handle the %2F for calling Twitter myself, it still won't work since now the % obviously gets encoded as well. |
Resolved in #2990. (Both the double encoding, and the
/behaviour)