Encode spaces in query parameter with %20 instead of + #2460
-
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, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Can you provide a more specific example? What behaviour do you see with different http clients? |
Beta Was this translation helpful? Give feedback.
-
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' |
Beta Was this translation helpful? Give feedback.
Can you provide a more specific example? What behaviour do you see with different http clients?