summaryrefslogtreecommitdiffstats
path: root/Lib/urllib2.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14132: Fix redirect handling when target is just a query stringMartin Panter2016-05-161-1/+1
|
* Issue #2202: Fix UnboundLocalError in ↵Berker Peksag2016-03-061-0/+3
| | | | | | | | AbstractDigestAuthHandler.get_algorithm_impls Raise ValueError if algorithm is not MD5 or SHA. Initial patch by Mathieu Dupuy.
* Issue #6500: Fixed infinite recursion in urllib2.Request.__getattr__().Serhiy Storchaka2016-01-181-5/+3
|
* Issue #6500: Reverting fbea8ff8db5e since it broke testsBerker Peksag2016-01-061-1/+2
|
* Issue #6500: Fix "maximum recursion depth exceeded" error caused by ↵Berker Peksag2016-01-061-2/+1
| | | | Request.__getattr__()
* remove HTTPSConnection's check_hostname parameter (#22959)Benjamin Peterson2014-12-071-5/+4
|
* allow passing cert/ssl information to urllib2.urlopen and ↵Benjamin Peterson2014-11-231-7/+41
| | | | | | httplib.HTTPSConnection This is basically a backport of issues #9003 and #22366.
* Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. ↵Senthil Kumaran2014-08-201-17/+2
| | | | Initial patch by Sam Bull.
* backout changeset e0510a3bdf8f - due to buildbot failures. Ref: Issue #8797Senthil Kumaran2014-08-161-2/+17
|
* Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. ↵Senthil Kumaran2014-08-161-17/+2
| | | | Initial patch by Sam Bull.
* Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that ↵Senthil Kumaran2012-12-231-0/+3
| | | | to return headers correctly
* revert the changes done in d931a3b64fd6 - buildbot failure.Senthil Kumaran2012-07-081-2/+1
| | | | | The fix for issue14826 might need to address toBytes and test_url_encoding in test_cookielib.py before it is brought back in.
* Fix issue14826 - make urllib.request.Request quoted url consistent with ↵Senthil Kumaran2012-07-081-2/+3
| | | | | | URLOpener open method. Patch contributed by Stephen Thorne.
* Issue12541 - Add UserWarning for unquoted realmsSenthil Kumaran2012-05-151-0/+4
|
* Issue #12541: Be lenient with quotes around Realm field with HTTP Basic ↵Senthil Kumaran2012-05-151-1/+1
| | | | Authentation in urllib2.
* Issue #13211: Add .reason attribute to HTTPError to implement parent class ↵Jason R. Coombs2011-11-071-0/+6
| | | | (URLError) interface.
* merge from 3.2 - fix urlopen behavior on sites which do not send (or ↵Senthil Kumaran2011-07-271-5/+5
| | | | obsfuscates) Connection: Close header.
* Issue #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-231-1/+8
| | | | | | | | * ftpwrapper now uses reference counting to ensure that the underlying socket is closed when the ftpwrapper object is no longer in use * ftplib.FTP.ntransfercmd() now closes the socket if an error occurs Initial patch by Victor Stinner.
* Issue #12133: AbstractHTTPHandler.do_open() of urllib.request closes the HTTPVictor Stinner2011-06-171-0/+2
| | | | | connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti.
* Fix Issue11703 - urllib2.get_url does not handle fragment in url properly.Senthil Kumaran2011-04-121-2/+5
|
* Merge issue 11662 from 2.6.Guido van Rossum2011-03-291-0/+11
|\
| * Merge issue 11662 from 2.5.Guido van Rossum2011-03-291-0/+11
| |\
| | * Add tests for the urllib[2] vulnerability. Change to raise exceptions.guido@google.com2011-03-281-1/+4
| | |
| | * Add FTP to the allowed url schemes. Add Misc/NEWS.guido@google.com2011-03-241-2/+3
| | |
| | * Issue 22663: fix redirect vulnerability in urllib/urllib2.guido@google.com2011-03-241-0/+7
| | |
| | * Issue #2670: urllib2.build_opener() failed when two handlersAmaury Forgeot d'Arc2008-04-221-3/+3
| | | | | | | | | | | | | | | | | | derive the same default base class. Backport of r62463.
| | * Patch #1752270, #1750931: complain if urllib2 add_handler calledGeorg Brandl2007-07-121-0/+4
| | | | | | | | | | | | | | | without handler. (backport from rev. 56293)
| | * Patch #1667860: Fix UnboundLocalError in urllib2.Georg Brandl2007-06-071-1/+1
| | | | | | | | | | | | (backport from rev. 55805)
| | * Fix SF #1703110, Incorrect example for add_password() (use uri, not host)Neal Norwitz2007-04-241-1/+4
| | |
| | * Patch #812285: allow multiple auth schemes in AbstractBasicAuthHandler.Georg Brandl2007-03-071-4/+3
| | | | | | | | | | | | (backport from rev. 54195)
| | * Patch #1627441: close sockets properly in urllib2.Georg Brandl2007-01-211-1/+1
| | | | | | | | | | | | (backport from rev. 53511)
| | * [Patch #1574068 by Scott Dial] urllib and urllib2 were usingAndrew M. Kuchling2006-10-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | base64.encodestring() for encoding authentication data. encodestring() can include newlines for very long input, which produced broken HTTP headers. 2.4 backport candidate, probably.
| | * Patch #1542948: fix urllib2 header casing issue. With new test.Georg Brandl2006-08-201-13/+15
| | | | | | | | | | | | (backport from rev. 51416)
| * | Merged revisions 82782 via svnmerge fromSenthil Kumaran2010-07-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82782 | senthil.kumaran | 2010-07-11 08:48:51 +0530 (Sun, 11 Jul 2010) | 9 lines Merged revisions 82780 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82780 | senthil.kumaran | 2010-07-11 08:42:43 +0530 (Sun, 11 Jul 2010) | 3 lines Stricter verification for file based url scheme and reliance on ftp protocol. ........ ................
| * | Merged revisions 81636 via svnmerge fromSenthil Kumaran2010-06-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81636 | senthil.kumaran | 2010-06-01 18:10:07 +0530 (Tue, 01 Jun 2010) | 3 lines Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It fails after 5 retries. ........
| * | Merged revisions 80957 via svnmerge fromSenthil Kumaran2010-05-081-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80957 | senthil.kumaran | 2010-05-08 10:30:11 +0530 (Sat, 08 May 2010) | 2 lines Fixing the errors trigerred in test_urllib2net. Related to issue8656. ........
| * | Merged revisions 80953 via svnmerge fromSenthil Kumaran2010-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80953 | senthil.kumaran | 2010-05-08 08:41:50 +0530 (Sat, 08 May 2010) | 3 lines Fix Issue8656 - urllib2 mangles file://-scheme URLs ........
| * | Reverting the changes made in r78432. Discussed in the tracker issue7540.Senthil Kumaran2010-03-041-3/+0
| | |
| * | Merged revisions 78431 via svnmerge fromSenthil Kumaran2010-02-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78431 | senthil.kumaran | 2010-02-25 02:25:31 +0530 (Thu, 25 Feb 2010) | 4 lines Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to a existing req object already having data. ........
| * | Merged revisions 78422 via svnmerge fromSenthil Kumaran2010-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78422 | senthil.kumaran | 2010-02-24 22:15:46 +0530 (Wed, 24 Feb 2010) | 2 lines Fix for Issue3819 - urllib2 sends Basic auth across redirects ........
| * | Merged revisions 77058 via svnmerge fromSenthil Kumaran2009-12-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77058 | senthil.kumaran | 2009-12-27 14:41:09 +0530 (Sun, 27 Dec 2009) | 4 lines Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host. This is on hosts with multiple ip addresses. ........
| * | Merged revisions 76908 via svnmerge fromSenthil Kumaran2009-12-201-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76908 | senthil.kumaran | 2009-12-20 11:35:13 +0530 (Sun, 20 Dec 2009) | 4 lines Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth Refactored HTTPHandler tests and added testcase for proxy authorization. ........
| * | Merged revisions 76288 via svnmerge fromSenthil Kumaran2009-11-151-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76288 | senthil.kumaran | 2009-11-15 14:06:20 +0530 (Sun, 15 Nov 2009) | 3 lines Fix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?. Resolution: Reset the nonce value for each unique nonce (as per RFC 2617) ........
| * | Merged revisions 76282 via svnmerge fromSenthil Kumaran2009-11-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76282 | senthil.kumaran | 2009-11-15 11:40:30 +0530 (Sun, 15 Nov 2009) | 3 lines Addition of some details in the code comments. ........
| * | Merged revisions 75333 via svnmerge fromSenthil Kumaran2009-10-111-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75333 | senthil.kumaran | 2009-10-11 07:30:07 +0530 (Sun, 11 Oct 2009) | 3 lines Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment ........
| * | Backporting the changes made in revision 72880 as fix for Issue1424152.Senthil Kumaran2009-07-261-3/+13
| | |
| * | Fix for issue5102, timeout value propages between redirects, proxy, digest andSenthil Kumaran2009-07-191-4/+4
| | | | | | | | | | | | auth handlers. Fixed tests to reflect the same.
* | | Merged revisions 87448 via svnmerge fromR. David Murray2010-12-231-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87448 | r.david.murray | 2010-12-23 14:44:49 -0500 (Thu, 23 Dec 2010) | 4 lines #4496: remove misleading comment and note that self.handlers is obsolete. self.handlers is still used in one urllib2 test, but not by the code iteslf. ........
* | | Merged revisions 86520 via svnmerge fromSenthil Kumaran2010-11-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86520 | senthil.kumaran | 2010-11-18 23:36:41 +0800 (Thu, 18 Nov 2010) | 3 lines Fix Issue2244 - urllib unquotes user and password info multiple times - Patch by Theodore Turocy ........
* | | Merged revisions 85025 via svnmerge fromSenthil Kumaran2010-09-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85025 | senthil.kumaran | 2010-09-27 06:56:03 +0530 (Mon, 27 Sep 2010) | 6 lines Fix Issue1595365 - Adding the req.headers after the un-redirect headers have been added. This helps in accidental overwritting of User-Agent header to default value. To preserve the old behavior, only headers not in unredirected headers will be updated. ........