@@ -39,19 +39,17 @@ High-level interface
3939 however, so it can't be used at those few places where a true built-in file
4040 object is required.)
4141
42- .. index :: module: mimetools
43-
4442 The :meth: `info ` method returns an instance of the class
45- :class: `mimetools. Message ` containing meta-information associated with the
46- URL. When the method is HTTP, these headers are those returned by the server
47- at the head of the retrieved HTML page (including Content-Length and
43+ :class: `email.message. Message ` containing meta-information associated with
44+ the URL. When the method is HTTP, these headers are those returned by the
45+ server at the head of the retrieved HTML page (including Content-Length and
4846 Content-Type). When the method is FTP, a Content-Length header will be
4947 present if (as is now usual) the server passed back a file length in response
5048 to the FTP retrieval request. A Content-Type header will be present if the
5149 MIME type can be guessed. When the method is local-file, returned headers
5250 will include a Date representing the file's last-modified time, a
5351 Content-Length giving file size, and a Content-Type containing a guess at the
54- file's type. See also the description of the :mod: ` mimetools ` module.
52+ file's type.
5553
5654 The :meth: `geturl ` method returns the real URL of the page. In some cases, the
5755 HTTP server redirects a client to another URL. The :func: `urlopen ` function
@@ -288,7 +286,7 @@ URL Opener objects
288286
289287 Retrieves the contents of *url * and places it in *filename *. The return value
290288 is a tuple consisting of a local filename and either a
291- :class: `mimetools .Message ` object containing the response headers (for remote
289+ :class: `email.message .Message ` object containing the response headers (for remote
292290 URLs) or ``None `` (for local URLs). The caller must then open and read the
293291 contents of *filename *. If *filename * is not given and the URL refers to a
294292 local file, the input filename is returned. If the URL is non-local and
0 commit comments