summaryrefslogtreecommitdiff
path: root/Lib/urllib/request.py
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Fix for issue5102, timeout value propages between redirects, proxy, digest andSenthil Kumaran2009-07-191-4/+4
| | | | | | | | | | | | auth handlers. Fixed tests to reflect the same.
* | | Normalize the encoding names for Latin-1 and UTF-8 toMarc-André Lemburg2011-02-251-1/+1
|/ / | | | | | | | | | | | | | | | | | | 'latin-1' and 'utf-8'. These are optimized in the Python Unicode implementation to result in more direct processing, bypassing the codec registry. Also see issue11303.
* | Fixed issue11082 - Reject str for POST data with a TypeError. Document the ↵Senthil Kumaran2011-02-111-0/+3
| | | | | | | | need to explicitly encode to bytes when using urlencode.
* | Remove lots of spaces within exception message.Georg Brandl2011-02-031-2/+2
| |
* | Fix some mistakes- Issue3243 (r87399) Correcting the operator precendenceSenthil Kumaran2010-12-241-1/+1
| | | | | | | | problem with Content-Length header and uncommenting the test.
* | #4496: remove misleading comment and note that self.handlers is obsolete.R. David Murray2010-12-231-3/+2
| | | | | | | | self.handlers is still used in one urllib2 test, but not by the code iteslf.
* | #3243 follow-up: remove debugging print and fix docs; data is a bytes object.v3.2b2Georg Brandl2010-12-191-1/+0
| |
* | Issue3243 - Support iterable bodies in httplib. Patch contributions by ↵Senthil Kumaran2010-12-191-2/+12
| | | | | | | | Xuanji Li and Chris AtLee.
* | Fix Issue4493 - urllib2 adds '/' to the path component of url, when it does notSenthil Kumaran2010-11-221-1/+1
| | | | | | | | starts with one. This behavior is exhibited by browser and other clients.
* | Fix Issue2244 - urllib unquotes user and password info multiple times - ↵Senthil Kumaran2010-11-181-2/+2
| | | | | | | | Patch by Theodore Turocy
* | Issue10063 - file:// scheme will stop accessing remote hosts via ftp protocolSenthil Kumaran2010-10-141-3/+3
| |
* | Issue #9003: http.client.HTTPSConnection, urllib.request.HTTPSHandler andAntoine Pitrou2010-10-131-7/+32
| | | | | | | | | | urllib.request.urlopen now take optional arguments to allow for server certificate checking, as recommended in public uses of HTTPS.
* | Fix Issue1595365 - Adding the req.headers after the un-redirect headers haveSenthil Kumaran2010-09-271-2/+4
| | | | | | | | | | | | 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.
* | Fix Issue8797 - Reset the basic auth retry count when response code is not 401.Senthil Kumaran2010-08-261-1/+4
| |
* | Fix Issue9639 - reset the retry count on successful auth.Senthil Kumaran2010-08-191-2/+9
| |
* | Fix Issue8280 - urllib2's Request method will remove fragements in the url.Senthil Kumaran2010-08-081-1/+2
| | | | | | | | This is how it should work,wget and curl work like this way too. Old behavior was wrong.
* | Sending the auth info as string. Fix BytesWarning: str() on a bytes instance ↵Senthil Kumaran2010-08-041-2/+2
| | | | | | | | Exception on buildbot.
* | Fix Issue8123 - TypeError in urllib when trying to use HTTP authenticationSenthil Kumaran2010-08-011-2/+2
| |
* | Fix a mistake, https proxy shoud be https://Senthil Kumaran2010-07-141-1/+1
| |
* | Fix: Issue6853 - Get HTTPS system proxy in Windows.Senthil Kumaran2010-07-141-0/+1
| |
* | Stricter verification for file based url scheme and reliance on ftp protocol.Senthil Kumaran2010-07-111-1/+2
| |
* | Merged revisions 82284 via svnmerge fromRonald Oussoren2010-06-271-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82284 | ronald.oussoren | 2010-06-27 15:59:39 +0200 (Sun, 27 Jun 2010) | 4 lines Fix for Issue8883: without this patch test_urllib will fail when there is a bare IP address in the "Bypass proxy settings for these Hosts & Domains" list on MacOSX. ........
* | Fix Issue1368368 - prompt_user_passwd() in FancyURLopener masks 401 ↵Senthil Kumaran2010-06-181-2/+10
| | | | | | | | Unauthorized error page
* | 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 revision 81259 via svnmerge fromFlorent Xicluna2010-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | 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. ........
* | Fix test_urllib2 failure on OS X.Mark Dickinson2010-05-091-1/+1
| |
* | 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/+2
| | | | | | | | | | | | | | | | | | | | 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 ........
* | Remove traces of MacOS9 support.Ronald Oussoren2010-05-051-3/+1
| | | | | | | | Fix for issue #7908
* | Merged revisions 80675 via svnmerge fromSenthil Kumaran2010-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80675 | senthil.kumaran | 2010-05-01 13:31:56 +0530 (Sat, 01 May 2010) | 3 lines Fix issue8582: urllib.urlretrieve fails with ValueError: Invalid format string ........
* | For for issue #7154: Port the code that usesRonald Oussoren2010-04-181-27/+65
| | | | | | | | | | the SystemConfiguration framework to detect the proxy settings on OSX from the trunk to python 3.2
* | Reverting the changes made in r78433.Senthil Kumaran2010-03-071-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 78268 via svnmerge fromSenthil Kumaran2010-02-201-1/+1
| | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk
* | Merged revisions 77058 via svnmerge fromSenthil Kumaran2009-12-271-5/+6
| | | | | | | | | | | | | | | | | | | | | | 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-3/+10
| | | | | | | | | | | | | | | | | | | | | | 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. ........
* | Recorded merge of revisions 76642 via svnmerge fromPhilip Jenvey2009-12-031-3/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76642 | philip.jenvey | 2009-12-02 18:40:13 -0800 (Wed, 02 Dec 2009) | 1 line actually close files ........
* | Merged revisions 76288 via svnmerge fromSenthil Kumaran2009-11-151-1/+6
| | | | | | | | | | | | | | | | | | | | | | 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-0/+4
| | | | | | | | | | | | | | | | | | | | 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 ........
* | Fixed Issue1424152 in Py3k: urllib2 fails with HTTPS over Proxy.Senthil Kumaran2009-07-251-3/+12
| |
* | Fix for issue5102, timeout value propages between redirects, proxy, digest andSenthil Kumaran2009-07-191-4/+4
|/ | | | auth handlers. Fixed tests to reflect the same.
* More codestring -> codebytes.Georg Brandl2009-06-041-1/+2
|
* Fix for issue1153027, making Py3k changes similar to fix in issue918368.Senthil Kumaran2009-05-051-0/+1
| | | | | | | This will address: a) urllib/ in py3k, b) urllib in py2x is addressed by issue918368. c) urllib2 in py2x was already addressed in Revision 43132.
* Fix for Issue1648102, based on the MSDN spec: If this parameter specifies theSenthil Kumaran2009-05-011-10/+3
| | | | | "<local>" macro as the only entry, this function bypasses any host name that does not contain a period.
* #5624: _winreg is winreg in Python 3.Georg Brandl2009-04-011-8/+8
|
* Make urllib use HTTP/1.1. It seems to work now, but hasn't beenJeremy Hylton2009-03-311-4/+0
| | | | carefully tested.
* Simplify the Request class. The basic components of the parsedJeremy Hylton2009-03-311-92/+73
| | | | | | | | | | | | Request are now available as public attributes, e.g. full_url and host. The accessor methods are deprecated. The implementation replace the complicated __getattr__ machinery with a _parse() method. The response from an HTTP request is now an HTTPResponse instance instead of an addinfourl() wrapper instance. The wrapper provided minimal extract functionality and was undocumented. The API of addinfourl() was preserved, except for close hooks, by adding a few methods and public attributes to the HTTPResponse class.
* Merged revisions 70518,70521,70590,70594-70595 via svnmerge fromBenjamin Peterson2009-03-261-35/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70518 | matthias.klose | 2009-03-22 08:08:22 -0500 (Sun, 22 Mar 2009) | 2 lines - Fix comment macro in python.man ........ r70521 | benjamin.peterson | 2009-03-22 12:45:11 -0500 (Sun, 22 Mar 2009) | 1 line close the file even if an exception occurs #5536 ........ r70590 | skip.montanaro | 2009-03-24 19:52:11 -0500 (Tue, 24 Mar 2009) | 1 line clarify the type of data returned ........ r70594 | marc-andre.lemburg | 2009-03-25 14:44:58 -0500 (Wed, 25 Mar 2009) | 9 lines Remove the sys.version_info shortcut, since they cause the APIs to return different information than the _sys_version() output used in previous Python versions. This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings Added more tests for the various platform functions. ........ r70595 | marc-andre.lemburg | 2009-03-25 14:45:33 -0500 (Wed, 25 Mar 2009) | 3 lines News item for the platform.py fix (r70594). ........