diff options
author | Guido van Rossum <guido@python.org> | 2001-08-23 13:38:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-23 13:38:15 (GMT) |
commit | 88e0b5bee0e69b628a9358c987bf49ac885d1c21 (patch) | |
tree | 09091cc535519f0c779926aea190f392f7794264 /Doc/lib/liburllib.tex | |
parent | be92af0e2ae1fe7c677f62361da4b45183603b09 (diff) | |
download | cpython-88e0b5bee0e69b628a9358c987bf49ac885d1c21.zip cpython-88e0b5bee0e69b628a9358c987bf49ac885d1c21.tar.gz cpython-88e0b5bee0e69b628a9358c987bf49ac885d1c21.tar.bz2 |
SF patch #454553 by Walter Dörwald: auto-guess content-type header for
ftp urls.
Diffstat (limited to 'Doc/lib/liburllib.tex')
-rw-r--r-- | Doc/lib/liburllib.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/liburllib.tex b/Doc/lib/liburllib.tex index 6522cf7..fb9524a 100644 --- a/Doc/lib/liburllib.tex +++ b/Doc/lib/liburllib.tex @@ -43,7 +43,8 @@ returned by the server at the head of the retrieved HTML page (including Content-Length and Content-Type). When the method is FTP, a Content-Length header will be present if (as is now usual) the server passed back a file length in response to the FTP retrieval -request. When the method is local-file, returned headers will include +request. A Content-Type header will be present if the MIME type can +be guessed. When the method is local-file, returned headers will include a Date representing the file's last-modified time, a Content-Length giving file size, and a Content-Type containing a guess at the file's type. See also the description of the |