Message165023
| 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 |
|