[New-bugs-announce] [issue17069] HTTP result code in urllib2.urlopen() file object undocumented
Tuure Laurinolli
report at bugs.python.org
Tue Jan 29 12:29:17 CET 2013
New submission from Tuure Laurinolli:
As per documentation at http://docs.python.org/2/library/urllib2.html the file-like object returned by urllib2.urlopen() should have methods geturl() and info(). It actually also has getcode(), which appears to do the same as getcode() on urllib.urlopen() responses.
This should be a documented feature of urllib2.
----------
components: Library (Lib)
messages: 180900
nosy: tazle
priority: normal
severity: normal
status: open
title: HTTP result code in urllib2.urlopen() file object undocumented
versions: Python 2.6, Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17069>
_______________________________________
More information about the New-bugs-announce
mailing list