Encode spaces in query parameter with %20 instead of + #2460
Answered
by
lovelydinosaur
chbndrhnns
asked this question in
Q&A
|
Hi, I came across a web server today which wants percent encoding for spaces in the query parameter. It seems that Python internals [1] are capable of doing that since 2015. What do you think? bye, |
Answered by
lovelydinosaur
Dec 30, 2022
Replies: 2 comments 9 replies
|
Can you provide a more specific example? What behaviour do you see with different http clients? |
6 replies
Answer selected by
lovelydinosaur
|
Has anything ever come out of this? (I need this for a particular server which doesn't consume urllib.parse.urlencode({"a": "b c"}, quote_via=urllib.parse.quote)which gives 'a=b%20c' |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you provide a more specific example? What behaviour do you see with different http clients?