diff options
author | Georg Brandl <georg@python.org> | 2008-06-12 18:52:31 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-12 18:52:31 (GMT) |
commit | 83e9f4cd77f0cf4e47d505643c00b0dc3debace3 (patch) | |
tree | 5fe0608949044149b11903ad280c6032238e4832 /Doc/library/http.cookiejar.rst | |
parent | b1549092ea5346e49eb6f0836857858a6bbd864c (diff) | |
download | cpython-83e9f4cd77f0cf4e47d505643c00b0dc3debace3.zip cpython-83e9f4cd77f0cf4e47d505643c00b0dc3debace3.tar.gz cpython-83e9f4cd77f0cf4e47d505643c00b0dc3debace3.tar.bz2 |
Remove last traces of mimetools.
Diffstat (limited to 'Doc/library/http.cookiejar.rst')
-rw-r--r-- | Doc/library/http.cookiejar.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/http.cookiejar.rst b/Doc/library/http.cookiejar.rst index 250abde..f8ffb82 100644 --- a/Doc/library/http.cookiejar.rst +++ b/Doc/library/http.cookiejar.rst @@ -165,10 +165,9 @@ contained :class:`Cookie` objects. :mailheader:`Set-Cookie2` headers in the *response* argument, and store cookies as appropriate (subject to the :meth:`CookiePolicy.set_ok` method's approval). - The *response* object (usually the result of a call to :meth:`urllib2.urlopen`, - or similar) should support an :meth:`info` method, which returns an object with - a :meth:`getallmatchingheaders` method (usually a :class:`mimetools.Message` - instance). + The *response* object (usually the result of a call to + :meth:`urllib2.urlopen`, or similar) should support an :meth:`info` method, + which returns a :class:`email.message.Message` instance. The *request* object (usually a :class:`urllib2.Request` instance) must support the methods :meth:`get_full_url`, :meth:`get_host`, :meth:`unverifiable`, and |