summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2.py
Commit message (Collapse)AuthorAgeFilesLines
* #17648 - convert test_urllib2.py doctests to unittestsSenthil Kumaran2013-04-091-210/+186
|
* #17471 - merge from 3.2Senthil Kumaran2013-03-191-1/+7
|\
| * #17471 - Increasing the urllib.error test coverage. Bringing it to 100%. ↵Senthil Kumaran2013-03-191-1/+9
| | | | | | | | Based on patch contributed by Daniel Wozniak
* | #17471 - merge from 3.2Senthil Kumaran2013-03-191-0/+3
|\ \ | |/
| * #17471 - Improve urllib2 test coverage. Patch contributed by Daniel WozniakSenthil Kumaran2013-03-191-0/+3
| |
* | merge from 3.2Senthil Kumaran2012-12-231-12/+28
|\ \ | |/ | | | | Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
| * Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that ↵Senthil Kumaran2012-12-231-10/+26
| | | | | | | | to return headers correctly
* | replace threw with raised (#16714)Andrew Svetlov2012-12-191-1/+1
|\ \ | |/
| * replace threw with raised (#16714)Andrew Svetlov2012-12-191-1/+1
| |
* | Fix Issue 15743 - improve urllib tests by removing deprecated method usages. ↵Senthil Kumaran2012-08-201-31/+33
| | | | | | | | Patch by Jeff Knupp.
* | Issue12541 - Add UserWarning for unquoted realmsSenthil Kumaran2012-05-151-5/+6
|\ \ | |/
| * Issue12541 - Add UserWarning for unquoted realmsSenthil Kumaran2012-05-151-5/+6
| |
* | merge from 3.2 - Issue #12541: Be lenient with quotes around Realm field of ↵Senthil Kumaran2012-05-151-0/+15
|\ \ | |/ | | | | HTTP Basic Authentation in urllib2.
| * Issue #12541: Be lenient with quotes around Realm field of HTTP Basic ↵Senthil Kumaran2012-05-151-0/+15
| | | | | | | | | | | | Authentation in urllib2. G: changed Misc/NEWS
* | code improvement. 'as cm' not required when not used. Review comment by ↵Senthil Kumaran2012-04-121-7/+7
| | | | | | | | Georg Brandl
* | use assertWarns instead of check_warnings - Issue14341Senthil Kumaran2012-04-111-7/+9
| |
* | Fix the buildbot breakdown - issue 10050Senthil Kumaran2012-03-141-2/+0
| |
* | deprecated the old urllib primitives in 3.3 urllib package - issue 10050Senthil Kumaran2012-03-141-4/+19
| |
* | merge from 3.2Senthil Kumaran2012-01-041-0/+13
|\ \ | |/
| * Issue13696 - Fix 302 Redirection for Relative urls.Senthil Kumaran2012-01-041-0/+13
| |
* | Corrected order of parameters to HTTPError in test_urllib2.py.Jason R. Coombs2011-12-041-1/+1
| |
* | Pass positional arguments - HTTPError is not accepting keyword arguments. ↵Jason R. Coombs2011-12-041-1/+3
| | | | | | | | Reference #13211 and #12555.
* | Merged fix for #13211 from 3.2Jason R. Coombs2011-12-031-0/+11
|\ \ | |/
| * Issue #13211: Add .reason attribute to HTTPError to implement parent class ↵Jason R. Coombs2011-11-071-0/+11
| | | | | | | | (URLError) interface.
* | Fix test_urllib2 error on Windows in relation with issue #13287.Florent Xicluna2011-11-041-0/+4
| |
* | issue13287 - Define __all__ for urllib.request and urllib.error and expose onlySenthil Kumaran2011-11-011-0/+12
| | | | | | | | the relevant module. Other cleanup improvements. Patch by flox.
* | Merge with 3.2.Ezio Melotti2011-10-191-1/+1
|\ \ | |/
| * Remove duplication.Ezio Melotti2011-10-191-1/+1
| |
* | Merge: #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-231-0/+1
|\ \ | |/ | | | | | | | | | | | | * 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 #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-231-0/+1
| | | | | | | | | | | | | | | | * 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.
* | (Merge 3.2) Issue #12133: fix a ResourceWarning in urllib.requestVictor Stinner2011-06-171-0/+3
|\ \ | |/ | | | | | | | | AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti.
| * Issue #12133: fix a ResourceWarning in urllib.requestVictor Stinner2011-06-171-0/+3
| | | | | | | | | | | | AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti.
* | Fix closes Issue #11799: urllib.request Authentication Handlers will raise aSenthil Kumaran2011-05-111-0/+24
| | | | | | | | ValueError when presented with an unsupported Authentication Scheme.
* | merge from 3.2Senthil Kumaran2011-04-121-1/+14
|\ \ | |/
| * merge from 3.1Senthil Kumaran2011-04-121-1/+14
| |\
| | * Fix Issue11703 - urllib2.geturl() does not return correct url when the ↵Senthil Kumaran2011-04-121-1/+14
| | | | | | | | | | | | original url contains #fragment. Patch Contribution by Santoso Wijaya.
* | | Merge Issue 11662 from 3.2 branch.guido@google.com2011-03-291-0/+24
|\ \ \ | |/ /
| * | Merge Issue 11662 from 3.1 branch.guido@google.com2011-03-291-0/+24
| |\ \ | | |/
| | * Issue 11662: Fix vulnerability in urllib/urllib2.guido@google.com2011-03-291-0/+24
| | | | | | | | | | | | (This version is a cleaned-up backport of a fix by Senthil Kumaran.)
* | | Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified ↵Ronald Oussoren2011-03-141-1/+34
|\ \ \ | |/ / | | | | | | IP addresses in the proxy exception list.
| * | Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified ↵Ronald Oussoren2011-03-141-1/+34
| |\ \ | | |/ | | | | | | IP addresses in the proxy exception list.
| | * Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified ↵Ronald Oussoren2011-03-141-1/+34
| | | | | | | | | | | | | | | | | | IP addresses in the proxy exception list Patch by Scott Wilson.
| | * Merged revisions 87895 via svnmerge fromBenjamin Peterson2011-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87895 | lukasz.langa | 2011-01-09 12:18:53 -0600 (Sun, 09 Jan 2011) | 5 lines #10874: test_urllib2 shouldn't use `is` operator for comparing strings Patch by Adreas Stührk. ........
| | * Merged revisions 86676 via svnmerge fromSenthil Kumaran2010-11-221-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86676 | senthil.kumaran | 2010-11-22 12:48:26 +0800 (Mon, 22 Nov 2010) | 4 lines Fix Issue4493 - urllib2 adds '/' to the path component of url, when it does not starts with one. This behavior is exhibited by browser and other clients. ........
| | * Merged revisions 86520 via svnmerge fromSenthil Kumaran2010-11-181-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ↵Florent Xicluna2010-08-141-24/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83212,83829,83833,83838-83839,83878,84019,84025,84028,84032,84036 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83212 | florent.xicluna | 2010-07-28 18:39:41 +0200 (mer., 28 juil. 2010) | 2 lines Syntax cleanup. ........ r83829 | florent.xicluna | 2010-08-08 18:16:07 +0200 (dim., 08 août 2010) | 2 lines Use unittest specific methods for some urllib test cases. And replace urllib2 with urllib.request in comments. ........ r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608. ........ r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines Typo. ........ r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines Issue #7564: Skip test_ioctl if another process is attached to /dev/tty. ........ r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest). ........ r84019 | florent.xicluna | 2010-08-14 17:56:42 +0200 (sam., 14 août 2010) | 11 lines Merged manually from 2.7 branch to 3.x trunk. ------------------------------------------------------------------------ r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010) Try to turn some buildbots green by allowing test_multiprocessing to pass even if it hits the sys.exc_clear code in the threading module, and improve the test coverage by making the ctypes dependencies a bit more granular (two of the cited ctypes objects don't exist on my system) ------------------------------------------------------------------------ ........ r84025 | florent.xicluna | 2010-08-14 18:56:27 +0200 (sam., 14 août 2010) | 1 line List Misc/python-config.in in Misc/README. Fix few typos. ........ r84028 | florent.xicluna | 2010-08-14 19:02:49 +0200 (sam., 14 août 2010) | 1 line Fix order. ........ r84032 | florent.xicluna | 2010-08-14 19:15:31 +0200 (sam., 14 août 2010) | 1 line Convert to spaces. ........ r84036 | florent.xicluna | 2010-08-14 20:03:19 +0200 (sam., 14 août 2010) | 1 line Remove bad merge (from svnmerge r82301) ........
| | * Merged revisions 83818 via svnmerge fromSenthil Kumaran2010-08-081-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83818 | senthil.kumaran | 2010-08-08 16:57:53 +0530 (Sun, 08 Aug 2010) | 4 lines Fix Issue8280 - urllib2's Request method will remove fragements in the url. This is how it should work,wget and curl work like this way too. Old behavior was wrong. ........
| | * Merged revisions 82780 via svnmerge fromSenthil Kumaran2010-07-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 81638 via svnmerge fromSenthil Kumaran2010-06-011-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81638 | senthil.kumaran | 2010-06-01 18:23:48 +0530 (Tue, 01 Jun 2010) | 9 lines Merged revisions 81636 via svnmerge from 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 80955 via svnmerge fromSenthil Kumaran2010-05-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r80955 | senthil.kumaran | 2010-05-08 08:59:09 +0530 (Sat, 08 May 2010) | 9 lines Merged revisions 80953 via svnmerge from 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 ........ ................