This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients antlong, christian.heimes, eric.araujo, jerub, orsenthil, pitrou, python-dev, rosslagerwall, wichert
Date 2012-07-08.16:42:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341765739.74.0.0644608019897.issue14826@psf.upfronthosting.co.za>
In-reply-to
Content
The docs [1] state that `url should be a string containing a valid URL.` An URL with a space ' ' is not a valid URL as the space must be quoted as %20. The brackets may also cause problems as they are not valid xs:anyURI chars.

I vote for reverting the chances as they break the API. You could improve the docs and emphasize that URLs must be quoted correctly as the module doesn't implement browser magic.

[1] http://docs.python.org/py3k/library/urllib.request.html#urllib.request.Request
History
Date User Action Args
2012-07-08 16:42:20christian.heimessetrecipients: + christian.heimes, orsenthil, pitrou, jerub, wichert, eric.araujo, antlong, rosslagerwall, python-dev
2012-07-08 16:42:19christian.heimessetmessageid: <1341765739.74.0.0644608019897.issue14826@psf.upfronthosting.co.za>
2012-07-08 16:42:19christian.heimeslinkissue14826 messages
2012-07-08 16:42:18christian.heimescreate