]> granicus.if.org Git - python/commit
Changes by Eric Raymond:
authorGuido van Rossum <guido@python.org>
Mon, 28 Sep 1998 14:07:00 +0000 (14:07 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 28 Sep 1998 14:07:00 +0000 (14:07 +0000)
commit9ab96d40eb416deaf45d7d58320b6658a14750ae
treee3d87029a93de09ffc54f610a0cfbbada9efc3b8
parentd5af7bd489480d6720359db18ed1a391a0f61216
Changes by Eric Raymond:

1. Generate a correct Content-Length header visible through the info() method
   if a request to open an FTP URL gets a length in the response to RETR.

2. Take a third argument to urlretrieve() that makes it possible to progress-
   meter an urlretrieve call (this is what I needed the above change for).
   See the second patch band below for details.

3. To avoid spurious errors, I commented out the gopher test.  The target
   document no longer exists.
Lib/urllib.py