Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Readd urllib.quote import as it doesn't cause any harm. | Georg Brandl | 2006-04-02 | 1 | -1/+1 |
| | |||||
* | Patch #1463012: remove not working undocumented classes from urllib2 | Georg Brandl | 2006-04-02 | 1 | -78/+10 |
| | |||||
* | Patch #1462790: fix urllib2 ProxyHandler for host:port proxies | Georg Brandl | 2006-04-02 | 1 | -19/+89 |
| | |||||
* | bug #1462706: guard against host not having FQDN hostname | Georg Brandl | 2006-04-02 | 1 | -2/+5 |
| | |||||
* | Update version number to 2.5 | Georg Brandl | 2006-03-31 | 1 | -1/+1 |
| | |||||
* | Revert r43399. | Georg Brandl | 2006-03-28 | 1 | -13/+13 |
| | |||||
* | Bug #1459963: urllib2 now normalizes HTTP header names correctly | Georg Brandl | 2006-03-28 | 1 | -13/+13 |
| | | | | with title(). | ||||
* | Bug #1353433: be conciliant with spaces in redirect URLs | Georg Brandl | 2006-03-18 | 1 | -1/+3 |
| | |||||
* | Suppress new deprecation warnings when running the | Tim Peters | 2006-02-18 | 1 | -1/+1 |
| | | | | | | | | | | | test suite. For urllib2, move the import of gopherlib into the only function that uses it: users (including the test suite) certainly shouldn't see a deprecation warning just because they import urllib2! If they actually use gopher_open(), fine, _then_ they should see a deprecation warning. | ||||
* | Whitespace normalization. | Tim Peters | 2006-02-18 | 1 | -2/+0 |
| | |||||
* | Move "httpresponses" dict from urllib2 to httplib where it belongs. | Georg Brandl | 2006-02-17 | 1 | -48/+1 |
| | |||||
* | Bug #902075: urllib2 now handles "host:port" proxy specifications | Georg Brandl | 2006-01-21 | 1 | -8/+13 |
| | | | | Can/should this be backported? | ||||
* | Whitespace normalization (via reindent.py). | Tim Peters | 2005-08-26 | 1 | -2/+2 |
| | |||||
* | Bug #735248: Fix urllib2.parse_http_list. | Georg Brandl | 2005-08-24 | 1 | -39/+36 |
| | |||||
* | Bug 1016563: Bug in urllib2 proxy auth | Georg Brandl | 2005-08-24 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2005-07-17 | 1 | -4/+4 |
| | |||||
* | RFE [ 1216944 ] Add Error Code Dictionary to urllib2 | Georg Brandl | 2005-07-14 | 1 | -0/+49 |
| | |||||
* | bug [ 1175848 ] poorly named variable in urllib2.py | Georg Brandl | 2005-06-26 | 1 | -2/+2 |
| | |||||
* | Replace list of constants with tuples of constants. | Raymond Hettinger | 2005-02-06 | 1 | -1/+1 |
| | |||||
* | SF patch #1028908 | Raymond Hettinger | 2005-02-05 | 1 | -3/+6 |
| | | | | | | (John J Lee) Minor code clarification and simplification. | ||||
* | Patch #1095362: replace hardcoded test for POST/GET with call to get_method, | Johannes Gijsbers | 2005-01-09 | 1 | -1/+1 |
| | | | | removing some duplication and gaining some flexibility in the process. | ||||
* | Two small changes, SF bug #974757 and SF patch #1037974. | Jeremy Hylton | 2004-12-22 | 1 | -6/+8 |
| | | | | | | | | Pass the full URL to find_user_password(), in particular so that hosts with port numbers can be looked up. Also specify the digest algorithm, even if it's MD5. Titus Brown verified that this fixes a problem with LiveJournal. | ||||
* | Added a usegmt flag to email.Utils.formatdate - this allows it to be | Anthony Baxter | 2004-10-11 | 1 | -2/+2 |
| | | | | | used to replace rfc822.formatdate for protocols like HTTP (where 'GMT' must be the timezone string). | ||||
* | Use multi-line import | Andrew M. Kuchling | 2004-08-31 | 1 | -3/+3 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-08-08 | 1 | -3/+3 |
| | |||||
* | Fix urllib2.urlopen() handling of chunked content encoding. | Jeremy Hylton | 2004-08-07 | 1 | -2/+14 |
| | | | | | | | | | | | | | | | | | 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 #994595: Recognize Basic auth even if other schemes are offered. | Martin v. Löwis | 2004-08-03 | 1 | -1/+1 |
| | | | | Will backport to 2.3. | ||||
* | Patch [ 972332 ] urllib2 FTPHandler bugs / John J. Lee | Kurt B. Kaiser | 2004-07-11 | 1 | -2/+4 |
| | | | | | 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 | -77/+0 |
| | |||||
* | [Patch #988504] Fix HTTP error handling via a patch from John J. Lee | Andrew M. Kuchling | 2004-07-10 | 1 | -10/+6 |
| | |||||
* | [Bug #912845] urllib2 only checks for a 200 return code, but 206 is also ↵ | Andrew M. Kuchling | 2004-06-29 | 1 | -2/+2 |
| | | | | | | legal if a Range: header was supplied. (Actually, should the first 'if' statement be modified to allow any 2xx status code?) | ||||
* | Cleanup: the in operator already returns a bool, no need to bool() it again | Neal Norwitz | 2004-06-07 | 1 | -4/+4 |
| | | | | | Cleanup: use condition to be consistent with code above CookieJar is in cookielib | ||||
* | Patch #963318: Add support for client-side cookie management. | Martin v. Löwis | 2004-05-31 | 1 | -16/+59 |
| | |||||
* | Fix [ 738973 ] urllib2 CacheFTPHandler doesn't work on multiple dirs, as | Mark Hammond | 2004-05-10 | 1 | -1/+1 |
| | | | | implemented in patch [ 851736 ]. | ||||
* | Patch #944110: Properly process empty passwords. Fixes #944082. | Martin v. Löwis | 2004-05-06 | 1 | -1/+1 |
| | | | | Backported to 2.3. | ||||
* | Fix comment typo | Andrew M. Kuchling | 2004-04-06 | 1 | -1/+1 |
| | |||||
* | Fix two bugs in the new do_open() implementation for HTTPHandler. | Jeremy Hylton | 2004-02-24 | 1 | -6/+17 |
| | | | | | | | | | Invoke the standard error handlers for non-200 responses. Always supply a "Connection: close" header to prevent the server from leaving the connection open. Downstream users of the socket may attempt recv()/read() with no arguments, which would block if the connection were kept open. | ||||
* | Patch #711838: Allow non-anonymous ftp urls in urllib2. | Martin v. Löwis | 2004-02-15 | 1 | -6/+15 |
| | | | | Backported to 2.3. | ||||
* | Patch #817379: Allow for absolute ftp paths. | Martin v. Löwis | 2004-02-15 | 1 | -1/+1 |
| | | | | Backported to 2.3. | ||||
* | Whitespace normalization. | Tim Peters | 2004-01-18 | 1 | -7/+7 |
| | |||||
* | Rewrite AbstractHTTPHandler to use modern httplib interface. | Jeremy Hylton | 2003-12-17 | 1 | -25/+26 |
| | | | | | | | | | | | | The chief benefit of this change is that requests will now use HTTP/1.1 instead of HTTP/1.0. Bump the module version number as part of the change. There are two possible incompatibilities that we'll need to watch out for when we get to an alpha release. We may get a different class of exceptions out of httplib, and the do_open() method changed its signature. The latter is only important if anyone actually subclasses AbstractHTTPHandler. | ||||
* | Remove __del__ methods to avoid creating uncollectable cyclic trash. | Jeremy Hylton | 2003-12-15 | 1 | -13/+4 |
| | | | | | | Keep close() methods for backwards compatibility. Does any call close() explicitly? |