Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It ↵ | Senthil Kumaran | 2010-06-01 | 1 | -0/+9 |
| | | | | fails after 5 retries. | ||||
* | Fixing the errors trigerred in test_urllib2net. Related to issue8656. | Senthil Kumaran | 2010-05-08 | 1 | -5/+8 |
| | |||||
* | Fix Issue8656 - urllib2 mangles file://-scheme URLs | Senthil Kumaran | 2010-05-08 | 1 | -1/+1 |
| | |||||
* | Reverting the change made in r78431. | Senthil Kumaran | 2010-03-07 | 1 | -3/+0 |
| | |||||
* | Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to | Senthil Kumaran | 2010-02-24 | 1 | -0/+3 |
| | | | | a existing req object already having data. | ||||
* | Fix for Issue3819 - urllib2 sends Basic auth across redirects | Senthil Kumaran | 2010-02-24 | 1 | -1/+1 |
| | |||||
* | Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host. | Senthil Kumaran | 2009-12-27 | 1 | -2/+3 |
| | | | | This is on hosts with multiple ip addresses. | ||||
* | Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth | Senthil Kumaran | 2009-12-20 | 1 | -1/+8 |
| | | | | Refactored HTTPHandler tests and added testcase for proxy authorization. | ||||
* | Fix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?. | Senthil Kumaran | 2009-11-15 | 1 | -1/+7 |
| | | | | Resolution: Reset the nonce value for each unique nonce (as per RFC 2617) | ||||
* | Addition of some details in the code comments. | Senthil Kumaran | 2009-11-15 | 1 | -2/+4 |
| | |||||
* | Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment | Senthil Kumaran | 2009-10-11 | 1 | -1/+7 |
| | |||||
* | Fix for issue5102, timeout value propages between redirects, proxy, digest and | Senthil Kumaran | 2009-07-19 | 1 | -4/+4 |
| | | | | auth handlers. Fixed tests to reflect the same. | ||||
* | Fixed Issue1424152, urllib2 fails with HTTPS over Proxy. | Senthil Kumaran | 2009-05-24 | 1 | -3/+13 |
| | |||||
* | no need for this __bases__ trick anymore | Benjamin Peterson | 2009-02-12 | 1 | -1/+1 |
| | |||||
* | Issue 4879: Allow buffering for HTTPResponse | Kristján Valur Jónsson | 2009-01-11 | 1 | -1/+4 |
| | |||||
* | Update __all__ for cookielib, csv, os, and urllib2 for objects imported into | Brett Cannon | 2008-08-18 | 1 | -2/+2 |
| | | | | the module but exposed as part of the API. | ||||
* | Issue 2464. Supports a malformation in the URL received | Facundo Batista | 2008-08-17 | 1 | -0/+8 |
| | | | | in a redirect. | ||||
* | Issue #2776: fixed small issue when handling an URL with double slash | Facundo Batista | 2008-08-16 | 1 | -3/+9 |
| | | | | after a 302 response in the case of not going through a proxy. | ||||
* | Fixed the semantic of timeout for socket.create_connection and | Facundo Batista | 2008-05-29 | 1 | -2/+2 |
| | | | | | | all the upper level libraries that use it, including urllib2. Added and fixed some tests, and changed docs correspondingly. Thanks to John J Lee for the patch and the pusing, :) | ||||
* | #2695: Do case-insensitive check for algorithms. | Georg Brandl | 2008-05-04 | 1 | -0/+2 |
| | |||||
* | Issue #2670: urllib2.build_opener() failed when two handlers | Amaury Forgeot d'Arc | 2008-04-22 | 1 | -3/+3 |
| | | | | | | derive the same default base class. Will backport. | ||||
* | #2585: initialize code attribute of HTTPError. | Georg Brandl | 2008-04-09 | 1 | -1/+1 |
| | |||||
* | #2136: allow single quotes in realm spec. | Georg Brandl | 2008-03-21 | 1 | -2/+5 |
| | |||||
* | Fixes Issue 1401. When redirected, a possible POST get converted | Facundo Batista | 2008-02-07 | 1 | -1/+4 |
| | | | | | | to GET, so it loses its payload. So, it also must lose the headers related to the payload (if it has no content any more, it shouldn't indicate content length and type). | ||||
* | Fix the test_urllib2net failures that were caused by r58067. | Neal Norwitz | 2008-01-24 | 1 | -2/+2 |
| | | | | | I'm not sure this is the correct fix, but at least the test passes now and should be closer to correct. | ||||
* | Change socket.error to inherit from IOError rather than being a stand | Gregory P. Smith | 2007-09-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | alone class. This addresses the primary concern in http://bugs.python.org/issue1706815 python-dev discussion here: http://mail.python.org/pipermail/python-dev/2007-July/073749.html I chose IOError rather than EnvironmentError as the base class since socket objects are often used as transparent duck typed file objects in code already prepared to deal with IOError exceptions. also a minor fix: urllib2 - fix a couple places where IOError was raised rather than URLError. for better or worse, URLError already inherits from IOError so this won't break any existing code. test_urllib2net - replace bad ftp urls. | ||||
* | Patch #1752270, #1750931: complain if urllib2 add_handler called | Georg Brandl | 2007-07-12 | 1 | -0/+4 |
| | | | | without handler. | ||||
* | Patch #1667860: Fix UnboundLocalError in urllib2. | Georg Brandl | 2007-06-07 | 1 | -1/+1 |
| | |||||
* | Added an optional timeout parameter to function urllib2.urlopen, | Facundo Batista | 2007-06-06 | 1 | -10/+11 |
| | | | | | | | with tests in test_urllib2net.py (must have network resource enabled to execute them). Also modified test_urllib2.py because testing mock classes must take it into acount. Docs are also updated. | ||||
* | Remove the gopherlib module. It has been raising a DeprecationWarning since | Brett Cannon | 2007-05-16 | 1 | -23/+1 |
| | | | | | | | Python 2.5. Also remove gopher support from urllib/urllib2. As both imported gopherlib the usage of the support would have raised a DeprecationWarning. | ||||
* | Whitespace normalization. Ugh, we really need to do this more often. | Neal Norwitz | 2007-04-25 | 1 | -1/+1 |
| | | | | You might want to review this change as it's my first time. Be gentle. :-) | ||||
* | Fix SF #1703110, Incorrect example for add_password() (use uri, not host) | Neal Norwitz | 2007-04-24 | 1 | -1/+4 |
| | |||||
* | As specified in RFC 2616, 2xx code indicates that the client's | Facundo Batista | 2007-04-23 | 1 | -1/+3 |
| | | | | | request was successfully received, understood, and accepted. Now in these cases no error is raised. Also fixed tests. | ||||
* | Patch #1668100: urllib2 now correctly raises URLError instead of | Georg Brandl | 2007-03-13 | 1 | -13/+17 |
| | | | | OSError if accessing a local file via the file:// protocol fails. | ||||
* | Whitespace normalization. | Tim Peters | 2007-03-12 | 1 | -1/+1 |
| | |||||
* | Patch #812285: allow multiple auth schemes in AbstractBasicAuthHandler. | Georg Brandl | 2007-03-07 | 1 | -4/+3 |
| | |||||
* | Minor corrections to docs, and an explanation comentary | Facundo Batista | 2007-03-05 | 1 | -13/+14 |
| | |||||
* | Use new email module names (#1637162, #1637159, #1637157). | Georg Brandl | 2007-01-22 | 1 | -2/+2 |
| | |||||
* | Patch #1627441: close sockets properly in urllib2. | Georg Brandl | 2007-01-21 | 1 | -1/+1 |
| | |||||
* | [Patch #1574068 by Scott Dial] urllib and urllib2 were using | Andrew M. Kuchling | 2006-10-27 | 1 | -2/+2 |
| | | | | | | base64.encodestring() for encoding authentication data. encodestring() can include newlines for very long input, which produced broken HTTP headers. | ||||
* | Patch #1542948: fix urllib2 header casing issue. With new test. | Georg Brandl | 2006-08-20 | 1 | -13/+15 |
| | |||||
* | Bug #1459963: properly capitalize HTTP header names. | Georg Brandl | 2006-07-26 | 1 | -13/+13 |
| | |||||
* | Patches #1497027 and #972322: try HTTP digest auth first, | Georg Brandl | 2006-05-29 | 1 | -0/+10 |
| | | | | and watch out for handler name collisions. | ||||
* | Patch #1496206: urllib2 PasswordMgr ./. default ports | Georg Brandl | 2006-05-28 | 1 | -15/+28 |
| | |||||
* | Little cleanup | Neal Norwitz | 2006-05-18 | 1 | -2/+2 |
| | |||||
* | Delay-import some large modules to speed up urllib2 import. | Georg Brandl | 2006-05-17 | 1 | -8/+28 |
| | | | | (fixes #1484793). | ||||
* | Patch #1479302: Make urllib2 digest auth and basic auth play together. | Georg Brandl | 2006-05-08 | 1 | -3/+0 |
| | |||||
* | Patch #1480067: don't redirect HTTP digest auth in urllib2 | Georg Brandl | 2006-05-03 | 1 | -1/+1 |
| | |||||
* | In stdlib, use hashlib instead of deprecated md5 and sha modules. | Georg Brandl | 2006-04-30 | 1 | -6/+5 |
| | |||||
* | Patch #1470846: fix urllib2 ProxyBasicAuthHandler. | Georg Brandl | 2006-04-30 | 1 | -10/+19 |
| |