Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue1177 | Kurt B. Kaiser | 2008-01-02 | 1 | -2/+2 |
| | | | | | | | r58207 and r58247 patch logic is reversed. I noticed this when I tried to use urllib to retrieve a file which required auth. Fix that and add a test for 401 error to verify. | ||||
* | #1177: accept 2xx responses for https too, not only http. | Georg Brandl | 2007-09-24 | 1 | -1/+3 |
| | |||||
* | issue1177: Ported Facundo's from urllib2 to urllib, accepting 2xx responses. | Sean Reifscheider | 2007-09-19 | 1 | -1/+3 |
| | |||||
* | This contains a number of things: | Bill Janssen | 2007-08-29 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | 1) Improve the documentation of the SSL module, with a fuller explanation of certificate usage, another reference, proper formatting of this and that. 2) Fix Windows bug in ssl.py, and general bug in sslsocket.close(). Remove some unused code from ssl.py. Allow accept() to be called on sslsocket sockets. 3) Use try-except-else in import of ssl in socket.py. Deprecate use of socket.ssl(). 4) Remove use of socket.ssl() in every library module, except for test_socket_ssl.py and test_ssl.py. | ||||
* | Added an optional timeout parameter to urllib.ftpwrapper, with tests | Facundo Batista | 2007-05-24 | 1 | -2/+3 |
| | | | | | | (for this and a basic one, because there weren't any). Changed also NEWS, but didn't find documentation for this function, assumed it wasn't public... | ||||
* | Remove the gopherlib module. It has been raising a DeprecationWarning since | Brett Cannon | 2007-05-16 | 1 | -27/+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. | ||||
* | Try to get test_urllib to pass on Windows by closing the file. | Neal Norwitz | 2007-03-20 | 1 | -2/+4 |
| | | | | | | | | | I'm guessing that's the problem. h.getfile() must be called *after* h.getreply() and the fp can be None. I'm not entirely convinced this is the best fix (or even correct). The buildbots will tell us if things improve or not. I don't know if this needs to be backported (assuming it actually works). | ||||
* | Bug #767111: fix long-standing bug in urllib which caused an | Georg Brandl | 2007-03-14 | 1 | -0/+8 |
| | | | | | AttributeError instead of an IOError when the server's response didn't contain a valid HTTP status line. | ||||
* | Patch #1678662: ftp.python.org does not exist. So the testcode in urllib.py ↵ | Collin Winter | 2007-03-12 | 1 | -1/+1 |
| | | | | | | | must use a more stable FTP. Will backport. | ||||
* | Use new email module names (#1637162, #1637159, #1637157). | Georg Brandl | 2007-01-22 | 1 | -2/+2 |
| | |||||
* | [Patch #1617413 from Dug Song] Fix HTTP Basic authentication via HTTPS | Andrew M. Kuchling | 2006-12-19 | 1 | -2/+2 |
| | |||||
* | [Patch #1574068 by Scott Dial] urllib and urllib2 were using | Andrew M. Kuchling | 2006-10-27 | 1 | -4/+4 |
| | | | | | | base64.encodestring() for encoding authentication data. encodestring() can include newlines for very long input, which produced broken HTTP headers. | ||||
* | Bug #1459963: properly capitalize HTTP header names. | Georg Brandl | 2006-07-26 | 1 | -6/+6 |
| | |||||
* | Patch #1470976: don't NLST files when retrieving over FTP. | Georg Brandl | 2006-04-30 | 1 | -7/+0 |
| | |||||
* | Fix a couple of strings that were no-ops. urllib.open_file was a docstring | Neal Norwitz | 2006-04-09 | 1 | -1/+1 |
| | | | | in 2.4, so put it back. The string in telnetlib looks like a comment. | ||||
* | 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(). | ||||
* | Bug #1457264: parse http://host?query correctly in urllib | Georg Brandl | 2006-03-26 | 1 | -1/+1 |
| | |||||
* | Patch #1426648: urllib proxy_bypass broken | Georg Brandl | 2006-02-18 | 1 | -3/+10 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-01-24 | 1 | -4/+4 |
| | |||||
* | Patch #1349118: urllib2 now supports user:pass@ style proxy | Martin v. Löwis | 2006-01-24 | 1 | -6/+93 |
| | | | | | specifications, raises IOErrors when proxies for unsupported protocols are defined, and uses the https proxy on https redirections. | ||||
* | Bug #649974: make docstrings for url2pathname consistent | Georg Brandl | 2005-12-26 | 1 | -0/+5 |
| | |||||
* | bug #1365984: urllib and data: URLs. Problem was that cStringIO objects ↵ | Georg Brandl | 2005-11-26 | 1 | -2/+5 |
| | | | | cannot be assigned attributes on the fly. | ||||
* | Teach unquote() to handle unicode inputs | Raymond Hettinger | 2005-10-15 | 1 | -0/+2 |
| | |||||
* | Corrected version of 1.170 | Raymond Hettinger | 2005-09-10 | 1 | -6/+3 |
| | |||||
* | Revert 1.170. Add tests. | Raymond Hettinger | 2005-09-10 | 1 | -3/+6 |
| | |||||
* | Simplify and speed-up unquote(). | Raymond Hettinger | 2005-09-10 | 1 | -15/+10 |
| | |||||
* | Simplify and speed-up quote_plus(). | Raymond Hettinger | 2005-09-10 | 1 | -6/+3 |
| | |||||
* | SF #1285086: urllib.quote is too slow | Raymond Hettinger | 2005-09-09 | 1 | -24/+12 |
| | | | | Simplify and speed-up quote() function. | ||||
* | patch [ 810023 ] Fix for off-by-one bug in urllib.URLopener.retrieve | Georg Brandl | 2005-08-26 | 1 | -8/+6 |
| | |||||
* | Patch [ 1062060 ] fix for 1016880 urllib.urlretrieve silently truncates dwnld | Georg Brandl | 2005-08-24 | 1 | -1/+15 |
| | |||||
* | Use cStringIO where available. | Raymond Hettinger | 2004-12-31 | 1 | -8/+23 |
| | |||||
* | 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). | ||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 1 | -1/+1 |
| | |||||
* | Fix for #779167: use InternetConfig proxy settings on MacOSX (in addition | Jack Jansen | 2004-07-16 | 1 | -2/+5 |
| | | | | to unix-style). | ||||
* | Replace sequential split/join calls on strings with a single replace call. | Brett Cannon | 2004-03-23 | 1 | -6/+2 |
| | | | | Thanks Andrew Gaul. | ||||
* | Replace code in urllib for basejoin (undocumented) with urlparse.urljoin . | Brett Cannon | 2004-03-23 | 1 | -59/+2 |
| | | | | | | | Test suites for urllib and urlparse run with each other's function to verify correctness of replacement and both test suites pass. Bumped urllib's __version__ attribute up a minor number. | ||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -5/+5 |
| | | | | From SF patch #852334. | ||||
* | [Bug #776542] open_https() generates a bad Authorization header because it ↵ | Andrew M. Kuchling | 2003-08-29 | 1 | -1/+1 |
| | | | | calls .putheader() wrongly. Reported by Steffen Ries. | ||||
* | More fixes according to SF 549151: | Guido van Rossum | 2003-05-16 | 1 | -4/+8 |
| | | | | | | | | - When redirecting, always use GET. This is common practice and more-or-less sanctioned by the HTTP standard. - Add a handler for 307 redirection, which becomes an error for POST, but a regular redirect for GET and HEAD. | ||||
* | SF Patch 549151: urllib2 POSTs on redirect | Raymond Hettinger | 2003-04-24 | 1 | -0/+4 |
| | | | | (contributed by John J Lee) | ||||
* | Fix docstring for URLOpener.retrieve() in regards to opening a local file | Brett Cannon | 2003-04-24 | 1 | -1/+1 |
| | |||||
* | SF 698520: Iterator for urllib.URLOpener | Raymond Hettinger | 2003-03-09 | 1 | -0/+4 |
| | | | | Contributed by Brett Cannon. | ||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 1 | -4/+4 |
| | |||||
* | Use fdopen() to create file from fd. | Jeremy Hylton | 2002-10-11 | 1 | -1/+1 |
| | |||||
* | When testing for localhost/ first map to lower case. Spotted by Skip. | Jack Jansen | 2002-09-12 | 1 | -1/+1 |
| | |||||
* | Treat file://localhost/ as local too (same as file:/ and file:///). | Jack Jansen | 2002-09-12 | 1 | -1/+1 |
| | | | | Fixes #607789, bugfix candidate. | ||||
* | Modify splituser() method to allow an @ in the userinfo field. | Raymond Hettinger | 2002-08-18 | 1 | -1/+1 |
| | | | | | | | Jeremy reported that this is not allowed by RFC 2396; however, other tools support unescaped @'s so we should also. Apply SF patch 596581 closing bug 581529. | ||||
* | Massive changes from SF 589982 (tempfile.py rewrite, by Zack | Guido van Rossum | 2002-08-09 | 1 | -3/+5 |
| | | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones. | ||||
* | Fix SF #565414, FancyURLopener() needs to support **kwargs | Neal Norwitz | 2002-06-11 | 1 | -2/+2 |
| | | | | since the URLopener base class does and **kwargs are used in urlopen. |