[issue13359] urllib2 doesn't escape spaces in http requests

Mads Kiilerich report at bugs.python.org
Thu Jan 12 16:10:58 CET 2012


Mads Kiilerich <mads at kiilerich.com> added the comment:

FWIW, I don't think it is a good idea to escape automatically. It will change the behaviour in a non-backward compatible way for existing applications that pass encoded urls to this function.

I think the existing behaviour is better. The documentation and the failure mode for passing URLs with spaces could however be improved.

----------
nosy: +kiilerix

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


More information about the Python-bugs-list mailing list