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
<http://bugs.python.org/issue17069>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com