You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
urllib documentation: urlopen().info() return type #47677
http://docs.python.org/lib/module-urllib.html
The page says that the return type of urlopen().info() is a
mimetools.Message object, which is not quite true; it is a
httplib.HTTPMessage object, which is a class derived from
mimetools.Message, but with additional features.
The httplib.HTTPMessage class is not documented at all, for which I will
file a separate bug.
Activity
ThomasH commentedon Jul 22, 2008
http://docs.python.org/lib/module-urllib.html
The page says that the return type of urlopen().info() is a
mimetools.Message object, which is not quite true; it is a
httplib.HTTPMessage object, which is a class derived from
mimetools.Message, but with additional features.
The httplib.HTTPMessage class is not documented at all, for which I will
file a separate bug.
rodolpho commentedon Mar 29, 2009
I'm including 2.7, as it also has this documentation problem. The rest
of the documentation is correct.
I know there is still work to be done on bpo-4773, which might affect
this doc.
rodolpho commentedon Mar 29, 2009
Patch for 2.7.
birkenfeld commentedon Mar 31, 2009
Committed in r70907.