A URL with spaces is not valid (the requests library is able to handle it, though).
What was the problem with keeping quote_plus? b0df3dbc
Edit: I think the previous logic needed to be applied before constructing the contract_url in a77521bc – otherwise, we have a partially quoted params string, which probably causes double encoding when requests fixes the remaining spaces.
quoting was originally used to escape characters like & 67ca9ab
A URL with spaces is not valid (the requests library is able to handle it, though).
What was the problem with keeping
quote_plus
? b0df3dbcEdit: I think the
previous
logic needed to be applied before constructing thecontract_url
in a77521bc – otherwise, we have a partially quoted params string, which probably causes double encoding when requests fixes the remaining spaces.quoting was originally used to escape characters like
&
67ca9ab