Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It ↵ | Senthil Kumaran | 2010-06-01 | 1 | -1/+0 |
| | | | | fails after 5 retries. | ||||
* | Fix Issue8656 - urllib2 mangles file://-scheme URLs | Senthil Kumaran | 2010-05-08 | 1 | -1/+2 |
| | |||||
* | In a number of places code still revers | Ronald Oussoren | 2010-05-05 | 1 | -3/+1 |
| | | | | | | | | | to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk. | ||||
* | Reverting the change made in r78431. | Senthil Kumaran | 2010-03-07 | 1 | -1/+0 |
| | |||||
* | Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to | Senthil Kumaran | 2010-02-24 | 1 | -0/+1 |
| | | | | a existing req object already having data. | ||||
* | Fix for Issue3819 - urllib2 sends Basic auth across redirects | Senthil Kumaran | 2010-02-24 | 1 | -1/+2 |
| | |||||
* | use assert[Not]IsInstance where appropriate | Ezio Melotti | 2010-01-24 | 1 | -2/+2 |
| | |||||
* | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -9/+9 |
| | |||||
* | Fixed issue7648 - test_urllib2 fails on Windows if not run from C: | Senthil Kumaran | 2010-01-10 | 1 | -3/+6 |
| | |||||
* | fix alleged refleak | Benjamin Peterson | 2009-12-24 | 1 | -3/+8 |
| | |||||
* | Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth | Senthil Kumaran | 2009-12-20 | 1 | -31/+74 |
| | | | | Refactored HTTPHandler tests and added testcase for proxy authorization. | ||||
* | Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment | Senthil Kumaran | 2009-10-11 | 1 | -0/+16 |
| | |||||
* | Fix for issue5102, timeout value propages between redirects, proxy, digest and | Senthil Kumaran | 2009-07-19 | 1 | -2/+6 |
| | | | | auth handlers. Fixed tests to reflect the same. | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -29/+29 |
| | |||||
* | Fixed Issue1424152, urllib2 fails with HTTPS over Proxy. | Senthil Kumaran | 2009-05-24 | 1 | -0/+15 |
| | |||||
* | Add simple unittests for Request | Jeremy Hylton | 2008-12-09 | 1 | -1/+47 |
| | |||||
* | Issue #2776: fixed small issue when handling an URL with double slash | Facundo Batista | 2008-08-16 | 1 | -0/+26 |
| | | | | 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 | -3/+5 |
| | | | | | | 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, :) | ||||
* | Issue #2670: urllib2.build_opener() failed when two handlers | Amaury Forgeot d'Arc | 2008-04-22 | 1 | -0/+6 |
| | | | | | | derive the same default base class. Will backport. | ||||
* | #2136: allow single quotes in realm spec. | Georg Brandl | 2008-03-21 | 1 | -2/+6 |
| | |||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -3/+3 |
| | |||||
* | Fixes Issue 1401. When redirected, a possible POST get converted | Facundo Batista | 2008-02-07 | 1 | -0/+9 |
| | | | | | | 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). | ||||
* | Patch #1752270, #1750931: complain if urllib2 add_handler called | Georg Brandl | 2007-07-12 | 1 | -0/+6 |
| | | | | without handler. | ||||
* | Added an optional timeout parameter to function urllib2.urlopen, | Facundo Batista | 2007-06-06 | 1 | -3/+7 |
| | | | | | | | 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. | ||||
* | As specified in RFC 2616, 2xx code indicates that the client's | Facundo Batista | 2007-04-23 | 1 | -3/+11 |
| | | | | | 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 | -5/+5 |
| | | | | OSError if accessing a local file via the file:// protocol fails. | ||||
* | Patch #1542948: fix urllib2 header casing issue. With new test. | Georg Brandl | 2006-08-20 | 1 | -7/+70 |
| | |||||
* | Bug #1459963: properly capitalize HTTP header names. | Georg Brandl | 2006-07-26 | 1 | -7/+7 |
| | |||||
* | Patches #1497027 and #972322: try HTTP digest auth first, | Georg Brandl | 2006-05-29 | 1 | -6/+55 |
| | | | | and watch out for handler name collisions. | ||||
* | Patch #1496206: urllib2 PasswordMgr ./. default ports | Georg Brandl | 2006-05-28 | 1 | -3/+51 |
| | |||||
* | ("Forward-port" of r46506) | Armin Rigo | 2006-05-28 | 1 | -0/+1 |
| | | | | | | | | | | | | | | Remove various dependencies on dictionary order in the standard library tests, and one (clearly an oversight, potentially critical) in the standard library itself - base64.py. Remaining open issues: * test_extcall is an output test, messy to make robust * tarfile.py has a potential bug here, but I'm not familiar enough with this code. Filed in as SF bug #1496501. * urllib2.HTTPPasswordMgr() returns a random result if there is more than one matching root path. I'm asking python-dev for clarification... | ||||
* | Patch #1479302: Make urllib2 digest auth and basic auth play together. | Georg Brandl | 2006-05-08 | 1 | -0/+21 |
| | |||||
* | Move network tests from test_urllib2 to test_urllib2net. | Georg Brandl | 2006-05-03 | 1 | -134/+0 |
| | |||||
* | Patch #1470846: fix urllib2 ProxyBasicAuthHandler. | Georg Brandl | 2006-04-30 | 1 | -34/+183 |
| | |||||
* | Use absolute imports | Neal Norwitz | 2006-04-03 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-04-03 | 1 | -2/+2 |
| | |||||
* | Patch #1462790: fix urllib2 ProxyHandler for host:port proxies | Georg Brandl | 2006-04-02 | 1 | -3/+21 |
| | |||||
* | Bug #1250170, Patch #1462230: handle socket.gethostname() | Georg Brandl | 2006-03-31 | 1 | -4/+10 |
| | | | | failures gracefully | ||||
* | Revert r43399. | Georg Brandl | 2006-03-28 | 1 | -6/+6 |
| | |||||
* | Bug #1459963: urllib2 now normalizes HTTP header names correctly | Georg Brandl | 2006-03-28 | 1 | -6/+6 |
| | | | | with title(). | ||||
* | test_gopher(): Squash another deprecation | Tim Peters | 2006-02-19 | 1 | -0/+5 |
| | | | | warning about gopherlib. | ||||
* | Move test case for HTTP response dict to httplib. | Georg Brandl | 2006-02-17 | 1 | -4/+0 |
| | |||||
* | Bug #735248: Fix urllib2.parse_http_list. | Georg Brandl | 2005-08-24 | 1 | -0/+8 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2005-07-17 | 1 | -1/+1 |
| | |||||
* | RFE [ 1216944 ] Add Error Code Dictionary to urllib2 | Georg Brandl | 2005-07-14 | 1 | -0/+4 |
| | |||||
* | Fix urllib2.urlopen() handling of chunked content encoding. | Jeremy Hylton | 2004-08-07 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | The change to use the newer httplib interface admitted the possibility that we'd get an HTTP/1.1 chunked response, but the code didn't handle it correctly. The raw socket object can't be pass to addinfourl(), because it would read the undecoded response. Instead, addinfourl() must call HTTPResponse.read(), which will handle the decoding. One extra wrinkle is that the HTTPReponse object can't be passed to addinfourl() either, because it doesn't implement readline() or readlines(). As a quick hack, use socket._fileobject(), which implements those methods on top of a read buffer. (suggested by mwh) Finally, add some tests based on test_urllibnet. Thanks to Andrew Sawyers for originally reporting the chunked problem. | ||||
* | Patch [ 972332 ] urllib2 FTPHandler bugs / John J. Lee | Kurt B. Kaiser | 2004-07-11 | 1 | -10/+7 |
| | | | | | Modified Files: urllib2.py test/test_urllib2.py | ||||
* | [Patch #988602] Move the urllib2 tests into the test framework | Andrew M. Kuchling | 2004-07-10 | 1 | -1/+129 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-07-08 | 1 | -1/+1 |
| | |||||
* | Remove unused import. (If it's there for some deep, dark reason, it should ↵ | Andrew M. Kuchling | 2004-06-29 | 1 | -1/+0 |
| | | | | have been commented.) |