Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #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 |
| | |||||
* | 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. |