Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
How to parse blank to %20, not + ? #5170
If http param contains blank, how to parse blank to %20, not + ?
As far as I can work out, requests uses urllib.parse.urlencode.
There seems to be a way to pass a "quote_via" parameter to the urlencode inside urllib, but that does not seem to be implemented in the requests library.
Can you explain why you would need this, as I have difficulty finding a reason for the request.