summaryrefslogtreecommitdiffstats
path: root/Lib/urllib/request.py
Commit message (Collapse)AuthorAgeFilesLines
* merge from 3.2Senthil Kumaran2012-01-211-0/+2
|\
| * Fix Issue6631 - Disallow relative file paths in urllib urlopenSenthil Kumaran2012-01-211-0/+2
| |
* | merge from 3.2 - Fix Issue #13642: Unquote before b64encoding user:password ↵Senthil Kumaran2012-01-141-0/+2
|\ \ | |/ | | | | during Basic Authentication.
| * Fix Issue #13642: Unquote before b64encoding user:password during Basic ↵Senthil Kumaran2012-01-141-3/+2
| | | | | | | | Authentication.
* | merge from 3.2Senthil Kumaran2012-01-041-2/+2
|\ \ | |/
| * Issue13696 - Fix 302 Redirection for Relative urls.Senthil Kumaran2012-01-041-2/+2
| |
* | Issue #8035: urllib: Fix a bug where the client could remain stuck after aCharles-François Natali2011-12-181-2/+0
|\ \ | |/ | | | | redirection or an error.
| * Issue #8035: urllib: Fix a bug where the client could remain stuck after aCharles-François Natali2011-12-181-2/+0
| | | | | | | | redirection or an error.
* | 'HTTPSHandler' and not the type.Senthil Kumaran2011-11-011-1/+1
| |
* | Append HTTPSHandler to __all__ when it is available.Senthil Kumaran2011-11-011-0/+2
| |
* | issue13287 - Define __all__ for urllib.request and urllib.error and expose onlySenthil Kumaran2011-11-011-18/+22
| | | | | | | | the relevant module. Other cleanup improvements. Patch by flox.
* | merge from 3.2 - Fix issue 10817 - Fix urlretrieve function to raise ↵Senthil Kumaran2011-10-311-2/+2
|\ \ | |/ | | | | | | | | ContentTooShortError even when reporthook is None. Patch by Jyrki Pulliainen.
| * Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortErrorSenthil Kumaran2011-10-311-2/+2
| | | | | | | | even when reporthook is None. Patch by Jyrki Pulliainen.
* | urllib.request - syntax changes enhancing readability. By Éric AraujoSenthil Kumaran2011-10-191-13/+12
|\ \ | |/
| * urllib.request - syntax changes enhancing readability. By Éric AraujoSenthil Kumaran2011-10-191-11/+10
| |
* | Fix closes issue 1673007 urllib.request to support HEAD requests with a new ↵Senthil Kumaran2011-10-161-2/+7
| | | | | | | | method arg.
* | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.Antoine Pitrou2011-10-121-0/+2
| |
* | merge from 3.2. Issue13104 - Fix urllib.request.thishost() utility function.Senthil Kumaran2011-10-051-1/+1
|\ \ | |/
| * Issue13104 - Fix urllib.request.thishost() utility function.Senthil Kumaran2011-10-051-1/+1
| |
* | merge from 3.2 - Fix closes issue12698 - make the no_proxy environment ↵Senthil Kumaran2011-08-061-1/+2
|\ \ | |/ | | | | 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/+2
| | | | | | | | bit lenient (accomodate spaces in between the items)
* | merge from 3.2 - Correcting issue 12576 fix, which resulted in buildbot ↵Senthil Kumaran2011-07-271-6/+3
|\ \ | |/ | | | | failures.
| * Correcting issue 12576 fix, which resulted in buildbot failures.Senthil Kumaran2011-07-271-6/+3
| |
* | merge from 3.2 - Fix closes Issue12576 - fix urlopen behavior on sites which ↵Senthil Kumaran2011-07-271-3/+6
|\ \ | |/ | | | | do not send (or obsfuscates) Connection: Close header.
| * Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or ↵Senthil Kumaran2011-07-271-3/+6
| | | | | | | | obsfuscates) Connection: Close header.
* | Merge: #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-231-4/+26
|\ \ | |/ | | | | | | | | | | | | * 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-4/+26
| | | | | | | | | | | | | | | | * 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/+2
|\ \ | |/ | | | | | | | | 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/+2
| | | | | | | | | | | | 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-8/+17
| | | | | | | | ValueError when presented with an unsupported Authentication Scheme.
* | merge from 3.2Senthil Kumaran2011-04-121-3/+6
|\ \ | |/
| * merge from 3.1Senthil Kumaran2011-04-121-3/+6
| |\
| | * Fix Issue11703 - urllib2.geturl() does not return correct url when the ↵Senthil Kumaran2011-04-121-3/+6
| | | | | | | | | | | | original url contains #fragment. Patch Contribution by Santoso Wijaya.
* | | Merge Issue 11662 from 3.2 branch.guido@google.com2011-03-291-0/+27
|\ \ \ | |/ /
| * | Merge Issue 11662 from 3.1 branch.guido@google.com2011-03-291-0/+27
| |\ \ | | |/
| | * Issue 11662: Fix vulnerability in urllib/urllib2.guido@google.com2011-03-291-0/+27
| | | | | | | | | | | | (This version is a cleaned-up backport of a fix by Senthil Kumaran.)
* | | issue10883 - Silence some ftp related ResourceWarnings in test_urllib2net. ↵Senthil Kumaran2011-03-241-3/+7
|\ \ \ | |/ / | | | | | | Patch by Nadeem Vawda
| * | issue10883 - Silence some ftp related ResourceWarnings in test_urllib2net. ↵Senthil Kumaran2011-03-241-3/+7
| | | | | | | | | | | | Patch by Nadeem Vawda.
* | | Closes issue11563 test_urllibnet is triggering a ResourceWarning. Patch by ↵Senthil Kumaran2011-03-191-0/+6
|\ \ \ | |/ / | | | | | | Jeff McNeil.
| * | Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil.Senthil Kumaran2011-03-191-0/+6
| | |
* | | Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified ↵Ronald Oussoren2011-03-141-48/+56
|\ \ \ | |/ / | | | | | | 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-48/+56
| |\ \ | | |/ | | | | | | 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-48/+56
| | | | | | | | | | | | | | | | | | IP addresses in the proxy exception list Patch by Scott Wilson.
| | * 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 86676 via svnmerge fromSenthil Kumaran2010-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-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. ........
| | * Merged revisions 84323 via svnmerge fromSenthil Kumaran2010-08-261-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84323 | senthil.kumaran | 2010-08-26 11:46:22 +0530 (Thu, 26 Aug 2010) | 3 lines Fix Issue8797 - Reset the basic auth retry count when response code is not 401. ........
| | * Merged revisions 84210 via svnmerge fromSenthil Kumaran2010-08-191-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84210 | senthil.kumaran | 2010-08-19 23:20:31 +0530 (Thu, 19 Aug 2010) | 3 lines Fix Issue9639 - reset the retry count on successful auth. ........
| | * Merged revisions 76719,81270-81272,83294,83319,84038-84039 via svnmerge fromFlorent Xicluna2010-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ................