Skip to content

Bad encoding in query parameters with new TestClient using httpx.Client #1946

Answered by azogue
azogue asked this question in Potential Issue
Discussion options

You must be logged in to vote

I just checked that removing both unquote operations for the netloc and the query parts does work as expected and does not break any of the tests 🥳 (609 passed, 2 xfailed in 2.41s in quick venv with py3.10)

So it could be as simple as that to fix this 🤩

Replies: 4 comments 2 replies

Comment options

Kludex
Nov 15, 2022
Maintainer Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Kludex
Comment options

Kludex Nov 16, 2022
Maintainer Sponsor

@azogue
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants