[issue4493] urllib2 doesn't always supply / where URI path component is empty

Senthil Kumaran report at bugs.python.org
Mon Nov 22 06:06:56 CET 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

Fixed it in r86676 (py3k), r86677 ( release31-maint) and r86678(release27-maint).

Wes: I fixed it at the much higher level in the urlparse itself, so that the fixed url is sent to the httplib.


In issue2464, John had pointed out that according to STD 66, path component can legally be empty, so when it is empty this adding of '/' does not take place.

Also added tests and NEWS.

----------
resolution:  -> fixed
stage: unit test needed -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list