[issue17214] http.client.HTTPConnection.putrequest encode error

Martin Panter report at bugs.python.org
Tue Mar 31 02:13:07 CEST 2015


Martin Panter added the comment:

I think this patch needs a test. I left some comments on Reitveld as well. Perhaps there should also be a test to prove that redirects to URLs like /spaced%20path/ do not get mangled.

Have a look at the HTTPRedirectHandler.redirect_request() method. Perhaps the code translating spaces to %20 could be merged with the fix for this issue.

----------
nosy: +vadmium

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17214>
_______________________________________


More information about the Python-bugs-list mailing list