• Guido van Rossum's avatar
    Changes by Eric Raymond: · 9ab96d40
    Guido van Rossum yazdı
    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.
    9ab96d40
urllib.py 28.3 KB