mirror of https://github.com/python/cpython
#3427: document correct return type for urlopen().info().
This commit is contained in:
parent
0c7b2c9c19
commit
b7715865e7
|
@ -49,7 +49,7 @@ High-level interface
|
||||||
.. index:: module: mimetools
|
.. index:: module: mimetools
|
||||||
|
|
||||||
The :meth:`info` method returns an instance of the class
|
The :meth:`info` method returns an instance of the class
|
||||||
:class:`mimetools.Message` containing meta-information associated with the
|
:class:`httplib.HTTPMessage` containing meta-information associated with the
|
||||||
URL. When the method is HTTP, these headers are those returned by the server
|
URL. When the method is HTTP, these headers are those returned by the server
|
||||||
at the head of the retrieved HTML page (including Content-Length and
|
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
|
Content-Type). When the method is FTP, a Content-Length header will be
|
||||||
|
|
Loading…
Reference in New Issue