summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib.py
Commit message (Collapse)AuthorAgeFilesLines
* revert the changes done for issue14826 - quoting witin Request is not desirable.Senthil Kumaran2012-07-091-5/+0
|\
| * revert the changes done for issue14826 - quoting witin Request is not desirable.Senthil Kumaran2012-07-091-5/+0
| |
* | Fix issue14826 - make urllib.request.Request quoted url consistent with ↵Senthil Kumaran2012-07-081-0/+5
|\ \ | |/ | | | | | | | | URLOpener open method. Patch contributed by Stephen Thorne.
| * Fix issue14826 - make urllib.request.Request quoted url consistent with ↵Senthil Kumaran2012-07-081-0/+5
| | | | | | | | | | | | URLOpener open method. Patch contributed by Stephen Thorne.
* | deprecated the old urllib primitives in 3.3 urllib package - issue 10050Senthil Kumaran2012-03-141-0/+4
| |
* | Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve ↵Senthil Kumaran2012-03-141-17/+17
| | | | | | | | takes, block number, block read size, file_size
* | Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-201-1/+3
|\ \ | |/
| * Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-201-1/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| | * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
* | | merge from 3.2Senthil Kumaran2012-01-211-0/+3
|\ \ \ | |/ /
| * | Fix Issue6631 - Disallow relative file paths in urllib urlopenSenthil Kumaran2012-01-211-0/+3
| | |
* | | merge from 3.2 - Fix Issue #13642: Unquote before b64encoding user:password ↵Senthil Kumaran2012-01-141-2/+31
|\ \ \ | |/ / | | | | | | during Basic Authentication.
| * | Fix Issue #13642: Unquote before b64encoding user:password during Basic ↵Senthil Kumaran2012-01-141-2/+31
| | | | | | | | | | | | Authentication.
* | | merge from 3.2 - Fix issue 10817 - Fix urlretrieve function to raise ↵Senthil Kumaran2011-10-311-27/+82
|\ \ \ | |/ / | | | | | | | | | | | | ContentTooShortError even when reporthook is None. Patch by Jyrki Pulliainen.
| * | Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortErrorSenthil Kumaran2011-10-311-27/+82
| | | | | | | | | | | | even when reporthook is None. Patch by Jyrki Pulliainen.
* | | Fix closes issue 1673007 urllib.request to support HEAD requests with a new ↵Senthil Kumaran2011-10-161-0/+23
| | | | | | | | | | | | method arg.
* | | merge from 3.2. Issue13104 - Fix urllib.request.thishost() utility function.Senthil Kumaran2011-10-051-0/+4
|\ \ \ | |/ /
| * | Issue13104 - Fix urllib.request.thishost() utility function.Senthil Kumaran2011-10-051-0/+4
| | |
* | | merge from 3.2 - Add the missing quote_plus call. Fix closes Issue12924Senthil Kumaran2011-09-121-0/+1
|\ \ \ | |/ /
| * | Add the quote_plus call in the test.Senthil Kumaran2011-09-121-0/+1
| | |
* | | merge from 3.2 - Fix closes issue12698 - make the no_proxy environment ↵Senthil Kumaran2011-08-061-1/+3
|\ \ \ | |/ / | | | | | | variable handling a bit lenient (accomodate spaces in between the items)
| * | Fix closes issue12698 - make the no_proxy environment variable handling a ↵Senthil Kumaran2011-08-061-1/+3
| | | | | | | | | | | | bit lenient (accomodate spaces in between the items)
* | | Issue #4608: urllib.request.urlopen does not return an iterable objectRaymond Hettinger2011-06-261-2/+3
|\ \ \ | |/ /
| * | Issue #4608: urllib.request.urlopen does not return an iterable objectRaymond Hettinger2011-06-261-2/+3
| | |
* | | merge from 3.2.Senthil Kumaran2011-04-141-0/+18
|\ \ \ | |/ / | | | | | | Fix closes Issue1147.
| * | merge from 3.1Senthil Kumaran2011-04-141-0/+18
| |\ \ | | |/
| | * Fix Issue11474 - fix url2pathname() handling of '/C|/' on WindowsSenthil Kumaran2011-04-141-0/+18
| | |
* | | merge from 3.2Senthil Kumaran2011-04-121-0/+10
|\ \ \ | |/ /
| * | merge from 3.1Senthil Kumaran2011-04-121-0/+10
| |\ \ | | |/
| | * Fix Issue11703 - urllib2.geturl() does not return correct url when the ↵Senthil Kumaran2011-04-121-0/+10
| | | | | | | | | | | | original url contains #fragment. Patch Contribution by Santoso Wijaya.
* | | Merge Issue 11662 from 3.2 branch.guido@google.com2011-03-291-0/+16
|\ \ \ | |/ /
| * | Merge Issue 11662 from 3.1 branch.guido@google.com2011-03-291-0/+16
| |\ \ | | |/
| | * Issue 11662: Fix vulnerability in urllib/urllib2.guido@google.com2011-03-291-0/+16
| | | | | | | | | | | | (This version is a cleaned-up backport of a fix by Senthil Kumaran.)
* | | closes issue11609. buildbot related failures in the test_urllibnet.Senthil Kumaran2011-03-191-2/+5
|\ \ \ | |/ /
| * | Call unfakehttp in order to close connection while opening the connection ↵Senthil Kumaran2011-03-191-2/+5
| | | | | | | | | | | | | | | | | | through a fakehttp object. Address issue11609 - urllib related buildbots failure.
* | | Closes issue11563 test_urllibnet is triggering a ResourceWarning. Patch by ↵Senthil Kumaran2011-03-191-1/+6
|\ \ \ | |/ / | | | | | | Jeff McNeil.
| * | Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil.Senthil Kumaran2011-03-191-1/+6
| | |
* | | #11565: Merge with 3.2.Ezio Melotti2011-03-161-1/+1
|\ \ \ | |/ /
| * | #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
| |\ \ | | |/
| | * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
| | |
| | * Merged revisions 85489-85490 via svnmerge fromAntoine Pitrou2010-10-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85489 | antoine.pitrou | 2010-10-14 20:31:39 +0200 (jeu., 14 oct. 2010) | 3 lines Really fix bug ........ r85490 | antoine.pitrou | 2010-10-14 20:32:54 +0200 (jeu., 14 oct. 2010) | 3 lines Oops ........
| | * Fix issue 10094, by narrowing down the test for PROXY environment variables.Barry Warsaw2010-10-141-1/+1
| | | | | | | | | | | | | | | Ubuntu 10.10 introduced $UBUNTU_MENUPROXY into the default user environment, and that's what's tripping up the code.
| | * Fix test failure with -bb, because of r84040.Florent Xicluna2010-08-141-1/+3
| | |
| | * Merged revisions 76719,81270-81272,83294,83319,84038-84039 via svnmerge fromFlorent Xicluna2010-08-141-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r76719 | antoine.pitrou | 2009-12-08 20:38:17 +0100 (mar., 08 déc. 2009) | 9 lines Merged revisions 76718 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76718 | antoine.pitrou | 2009-12-08 20:35:12 +0100 (mar., 08 déc. 2009) | 3 lines Fix transient refleaks in test_urllib. Thanks to Florent Xicluna. ........ ................ r81270 | florent.xicluna | 2010-05-17 19:24:07 +0200 (lun., 17 mai 2010) | 9 lines Merged revision 81259 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81259 | florent.xicluna | 2010-05-17 12:39:07 +0200 (lun, 17 mai 2010) | 2 lines Slight style cleanup. ........ ................ r81271 | florent.xicluna | 2010-05-17 19:33:07 +0200 (lun., 17 mai 2010) | 11 lines Issue #1285086: Speed up urllib.parse functions: quote, quote_from_bytes, unquote, unquote_to_bytes. Recorded merge of revisions 81265 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81265 | florent.xicluna | 2010-05-17 15:35:09 +0200 (lun, 17 mai 2010) | 2 lines Issue #1285086: Speed up urllib.quote and urllib.unquote for simple cases. ........ ................ r81272 | florent.xicluna | 2010-05-17 20:01:22 +0200 (lun., 17 mai 2010) | 2 lines Inadvertently removed part of the comment in r81271. ................ r83294 | senthil.kumaran | 2010-07-30 21:34:36 +0200 (ven., 30 juil. 2010) | 2 lines Fix issue9301 - handle unquote({}) kind of case. ................ r83319 | florent.xicluna | 2010-07-31 10:56:55 +0200 (sam., 31 juil. 2010) | 2 lines Fix an oversight in r83294. unquote() should reject bytes. Issue #9301. ................ r84038 | florent.xicluna | 2010-08-14 20:30:35 +0200 (sam., 14 août 2010) | 1 line Silence the BytesWarning, due to patch r83294 for #9301 ................ r84039 | florent.xicluna | 2010-08-14 22:51:58 +0200 (sam., 14 août 2010) | 1 line Silence BytesWarning while testing exception ................
| | * Merged revisions ↵Florent Xicluna2010-08-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 83415 via svnmerge fromSenthil Kumaran2010-08-011-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83415 | senthil.kumaran | 2010-08-01 23:23:37 +0530 (Sun, 01 Aug 2010) | 3 lines Fix Issue8123 - TypeError in urllib when trying to use HTTP authentication ........
| | * Merged revisions 82510 via svnmerge fromSenthil Kumaran2010-07-031-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82510 | senthil.kumaran | 2010-07-03 23:18:22 +0530 (Sat, 03 Jul 2010) | 4 lines Fix Issue5468 - urlencode to handle bytes and other alternate encodings. (Extensive tests provided). Patch by Dan Mahn. ........
| | * Merged revisions 78270 via svnmerge fromSenthil Kumaran2010-02-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r78270 | senthil.kumaran | 2010-02-21 03:49:04 +0530 (Sun, 21 Feb 2010) | 4 lines Merged revisions 78268 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........
| | * Merged revisions 77389 via svnmerge fromBenjamin Peterson2010-01-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r77389 | benjamin.peterson | 2010-01-09 12:45:30 -0600 (Sat, 09 Jan 2010) | 25 lines Merged revisions 77209,77229,77359-77360,77371 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line More yearly updates. ........ r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line Fix casing. ........ r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line Fix description for Py_GetPath(); it sounded like it always returned sys.path. ........ r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line #7653: clarify how the PythonPath registry key should look like. ........ r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration ........ ................
| | * Merged revisions 73715 via svnmerge fromGeorg Brandl2009-08-131-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line convert old fail* assertions to assert* ........