Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Remove uses of the string and types modules: | Walter Dörwald | 2002-06-03 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | | | x in string.whitespace => x.isspace() type(x) in types.StringTypes => isinstance(x, basestring) isinstance(x, types.StringTypes) => isinstance(x, basestring) type(x) is types.StringType => isinstance(x, str) type(x) == types.StringType => isinstance(x, str) string.split(x, ...) => x.split(...) string.join(x, y) => y.join(x) string.zfill(x, ...) => x.zfill(...) string.count(x, ...) => x.count(...) hasattr(types, "UnicodeType") => try: unicode except NameError: type(x) != types.TupleTuple => not isinstance(x, tuple) isinstance(x, types.TupleType) => isinstance(x, tuple) type(x) is types.IntType => isinstance(x, int) Do not mention the string module in the rlcompleter docstring. This partially applies SF patch http://www.python.org/sf/562373 (with basestring instead of string). (It excludes the changes to unittest.py and does not change the os.stat stuff.) | ||||
* | Replaced boolean tests with is None. | Raymond Hettinger | 2002-06-02 | 1 | -5/+5 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -11/+11 |
| | |||||
* | Don't require Unicode support. | Guido van Rossum | 2002-05-24 | 1 | -2/+9 |
| | |||||
* | Fix from SF bug #541980 (Jacques A. Vidrine). | Guido van Rossum | 2002-04-15 | 1 | -1/+4 |
| | | | | | | | When os.stat() for a file raises OSError, turn it into IOError per documentation. Bugfix candidate. | ||||
* | Support manual proxy configuration for simple urlopen() operations. | Fred Drake | 2002-04-04 | 1 | -5/+10 |
| | | | | | | This change is similar to the supplied patch, but does not save the opener when a proxy configuration is specified. This closes SF patch #523415. | ||||
* | Fix for a bug in the fix for SF bug 503031. This time the OP verified | Guido van Rossum | 2002-04-02 | 1 | -2/+2 |
| | | | | | | that it works. Bugfix candidate (this and the previous checkin, obviously). | ||||
* | Hopeful fix for SF bug 503031: urllib.py: open_http() host problem. | Guido van Rossum | 2002-03-31 | 1 | -1/+5 |
| | | | | | | | I really can't test this, but from reading the discussion in that bug report, it's likely that this works. It may also close a whole bunch of other bug reports related to urllib and proxies on Windows, but who knows. | ||||
* | time and socket were already imported in the module, no need to re-import | Neal Norwitz | 2002-03-26 | 1 | -3/+1 |
| | |||||
* | use stat attributes instead of tuple entries | Walter Dörwald | 2002-03-22 | 1 | -3/+2 |
| | | | | and remove the unneccessary "import stat" statement. | ||||
* | To make 'urllib.py -t' run again, change FTP URL to a file that actually | Andrew M. Kuchling | 2002-03-18 | 1 | -1/+1 |
| | | | | exists. | ||||
* | SF #515024 remove unused variable | Neal Norwitz | 2002-02-11 | 1 | -1/+0 |
| | |||||
* | SF patch #490515 (Joe A) urllib.open_https() protocol issue | Guido van Rossum | 2001-12-08 | 1 | -1/+1 |
| | | | | | | | | | | open_http(): In urllib.py library module, URLopener.open_https() returns a class instance of addinfourl() with its self.url property missing the protocol. Instead of "https://www.someurl.com", it becomes "://www.someurl.com". | ||||
* | Added missing parameter in call to http_error_default(); | Fred Drake | 2001-10-13 | 1 | -1/+1 |
| | | | | reported by Neal Norwitz. | ||||
* | Add content-type header to ftp URLs (SF patch #454553) | Jeremy Hylton | 2001-08-27 | 1 | -8/+2 |
| | | | | | | | | Modify rfc822.formatdate() to always generate English names, regardless of locale. This is required by RFC 1123. In open_local_file() of urllib and urllib2, use new formatdate() from rfc822. | ||||
* | SF patch #454553 by Walter Dörwald: auto-guess content-type header for | Guido van Rossum | 2001-08-23 | 1 | -5/+7 |
| | | | | ftp urls. | ||||
* | Only catch the errors that can actually occur, as reported in bug #411881. | Martin v. Löwis | 2001-08-11 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-08-09 | 1 | -3/+3 |
| | |||||
* | SF patch #403640: incomplete proxy handling in URLLIB | Tim Peters | 2001-08-09 | 1 | -0/+62 |
| | | | | Look specific to Windows. Don't know whether it works. |