We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
httpx currently encodes spaces in the query parameter using the + sign:
>>> httpx.URL("https://www.example.com", params={"a": "b c"}) URL('https://www.example.com?a=b+c')
This causes problems for me described in the linked discussion. Tom's comment:
However using https://www.example.com/?a=b c in the address bar in various browsers... Chrome, Safari, and Firefox all switch this out to https://www.example.com/?a=b%20c. (Firefox displays "https://www.example.com/?a=b c" but I can see from the "page info" the actual URL it requested.) So... we could probably switch to %20, and it might be a marginally better choice. (?)
However using https://www.example.com/?a=b c in the address bar in various browsers...
Chrome, Safari, and Firefox all switch this out to https://www.example.com/?a=b%20c. (Firefox displays "https://www.example.com/?a=b c" but I can see from the "page info" the actual URL it requested.)
So... we could probably switch to %20, and it might be a marginally better choice. (?)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
httpx currently encodes spaces in the query parameter using the + sign:
This causes problems for me described in the linked discussion. Tom's comment:
The text was updated successfully, but these errors were encountered: