Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | One fix by sjoerd and one suggested by him. Bumped __version__ to 1.5. | Guido van Rossum | 1996-09-10 | 1 | -9/+24 |
| | | | | | Fix 1: add a method geturl() to the file-like object returned by urlopen(). Fix 2: treat http error 301 the same as error 302. | ||||
* | Bump exposed __version__ to 1.4. | Guido van Rossum | 1996-08-26 | 1 | -6/+9 |
| | | | | Correctly handle a URL containing user:password@host when using a proxy. | ||||
* | Slightly faster (un)quoting. | Guido van Rossum | 1996-08-26 | 1 | -8/+8 |
| | |||||
* | add nturl2path | Guido van Rossum | 1996-06-26 | 1 | -0/+2 |
| | |||||
* | Change defn of splitnport() to only accept valid digit strings. | Guido van Rossum | 1996-06-17 | 1 | -10/+9 |
| | |||||
* | Added splitnport(), which is like splitport() but returns a numeric port, | Guido van Rossum | 1996-06-13 | 1 | -0/+17 |
| | | | | | is forgiving about semi-numeric port numbers, and allows you to specify a default port (default is -1, None returned for nonnumeric port). | ||||
* | Support optional filename argument for retrieve() and urlretrieve(), | Guido van Rossum | 1996-06-11 | 1 | -8/+12 |
| | | | | | to specify where it should go (if specified, even local files will be copied into the given file). | ||||
* | move mac url2path conversion to separate module | Guido van Rossum | 1996-03-21 | 1 | -50/+1 |
| | |||||
* | Added proxy handling; upped version. | Guido van Rossum | 1996-03-20 | 1 | -8/+44 |
| | | | | (Proxy handling uses <proto>_proxy environment variables by default.) | ||||
* | Try to normalize urls referring to local files (code copied from posixpath) | Jack Jansen | 1996-02-14 | 1 | -3/+15 |
| | |||||
* | speed up unquote() by using atoi() instead of eval() | Guido van Rossum | 1996-01-26 | 1 | -1/+1 |
| | |||||
* | Added pathname2url and url2pathname methods (only correct for unix and | Jack Jansen | 1995-12-21 | 1 | -7/+32 |
| | | | | mac, so far) | ||||
* | Fixed local file access for macintosh | Jack Jansen | 1995-12-15 | 1 | -2/+17 |
| | |||||
* | Fixed basejoin. There were two main problems: | Sjoerd Mullender | 1995-11-10 | 1 | -13/+37 |
| | | | | | | | | | | | | | | - basejoin('some/url', '#name') would strip the last component of some/url and resturn some/#name. - basejoin('file.html', 'relative/path') would return something like file:/relative/path, making a relative path into an absolute one. These bugs are fixed by some drastic changes. No scheme is added when none is present (i.e. it works as replacement for posix.joinpath). If a scheme is present in the second argument, it is returned unprocessed. No hostname are added in this case. If no scheme is present, the scheme of the first argument, if present, is used. The algorithm is commented profusely. Also fixed a typo in a comment. | ||||
* | support overriding how to open unknown url types | Guido van Rossum | 1995-08-29 | 1 | -13/+13 |
| | |||||
* | Removed addbase.__del__ because it can't work. | Sjoerd Mullender | 1995-08-15 | 1 | -2/+6 |
| | | | | | If code keeps a reference to self.fp or any of its methods, you don't want to close self.fp just because no explicit reference is kept to self. | ||||
* | changed version :-) | Guido van Rossum | 1995-08-10 | 1 | -1/+1 |
| | |||||
* | use mimetools; add error handling and authentication | Guido van Rossum | 1995-08-04 | 1 | -12/+129 |
| | |||||
* | add User-agent hdr; read and close the file upon http error | Guido van Rossum | 1995-06-22 | 1 | -3/+14 |
| | |||||
* | Add hacks for switching protocol and path but leaving host unchanged | Guido van Rossum | 1994-12-30 | 1 | -2/+2 |
| | |||||
* | Fix bug if tmpcache is None | Guido van Rossum | 1994-09-21 | 1 | -1/+2 |
| | |||||
* | New way of generating .pyc files, thanks to Sjoerd. | Guido van Rossum | 1994-08-29 | 1 | -1/+1 |
| | | | | | | urllib.py: '+' is not always safe (even though the RFC says so :-( ) whrandom.py: throw away top bits of time to avoid overflow on Mac (where times can be negative) | ||||
* | * Lib/linecache.py: don't crash on empty filename | Guido van Rossum | 1994-08-23 | 1 | -10/+18 |
| | | | | | | | | | | | * Lib/macpath.py: don't return trailing colon for dirname() (XXX won't do for volume names -- but otherwise glob(':*:*.py') loops forever) * Lib/traceback.py: print SyntaxError correctly * Lib/stat.py: moved to posixstat.py; added macstat.py which has the constants for the Mac; and created new stat.py which includes the right one * Lib/urllib.py: fix caching bug (by disabling the cache) | ||||
* | * Lib/rfc822.py: fix two bugs: error in readheaders interpreting | Guido van Rossum | 1994-08-12 | 1 | -1/+1 |
| | | | | | regex.match() result, and wrong logic in getfirstmatchingheader() when the same header occurs twice consecutively | ||||
* | * Lib/urllib.py: implemented new quoting rules; added splituser, | Guido van Rossum | 1994-07-04 | 1 | -22/+77 |
| | | | | | splitpasswd, splitattr, splitvalue; new ftp syntax (user:passwd, cwd to each subdir, type={a,i,d}) | ||||
* | Added tests for missing host to open_http and open_gopher | Guido van Rossum | 1994-04-18 | 1 | -0/+2 |
| | |||||
* | Renamed urlopen.py to urllib.py. | Guido van Rossum | 1994-03-22 | 1 | -0/+454 |