Krishna Bharadwaj <krishna.bm...@gmail.com> added the comment: I have used the quote method to percent encode the url for spaces and similar characters. This is my first patch. Please let me know if there is anything wrong. I will correct and re-submit it. I ran the test_urllib2.py which gave an OK for 34 tests.
Changes are made in two instances: 1. in the open method. 2. in the __init__ of Request class to ensure that the same issue is addressed at the time of creating Request objects. ---------- keywords: +patch nosy: +krisys Added file: http://bugs.python.org/file23642/issue13359.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13359> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com