Senthil Kumaran orsent...@gmail.com added the comment:
On Mon, Jun 28, 2010 at 08:51:58PM +, ThomasH wrote:
But the urllib.rst documentation is still flawed:
Fixed now in the r82363. Did a find and grep on all instances of
HTTPMessage and verified that it is only at proper places now.
Senthil Kumaran orsent...@gmail.com added the comment:
Fixed in r82322 and r82323.
Actually urllib.urlopen.info method return a mimetools.Message instance and a
HTTPMessage instance is used within httplib only. It is more internal purposes
to deal with headers with add_continue like methods
ipatrol ipatrol6...@yahoo.com added the comment:
What about urllib2? It's explicitly mentioned as the return value of .info()
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3428
___
Senthil Kumaran orsent...@gmail.com added the comment:
That was a Documentation mistake. Thanks for pointing out.
Corrected it in revision 82334 and merged to other branches.
--
___
Python tracker rep...@bugs.python.org
ThomasH thomas.bugzi...@gmx.net added the comment:
Actually urllib.urlopen.info method return a mimetools.Message instance
But the urllib.rst documentation is still flawed:
The :meth:`info` method returns an instance of the class
:class:`httplib.HTTPMessage`
ipatrol ipatrol6...@yahoo.com added the comment:
This is still not fixed. Also, it would be nice to add the response code in
somewhere as I don't see it in the stdlib epydoc pages
--
nosy: +ipatrol
___
Python tracker rep...@bugs.python.org
Changes by Daniel Diniz aja...@gmail.com:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3428
___
___
Python-bugs-list mailing
Changes by Daniel Diniz aja...@gmail.com:
--
nosy: +ajaksu2, orsenthil
priority: - normal
stage: - needs patch
type: - behavior
versions: +Python 2.6 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3428
Changes by Georg Brandl [EMAIL PROTECTED]:
--
components: +Documentation -Documentation tools (Sphinx)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3428
___
New submission from ThomasH [EMAIL PROTECTED]:
The httplib.HTTPMessage class needs documentation; it is missing from
the package documentation entirely. Instances of this class are e.g.
returned by the urllib.urlopen().info() method.
--
assignee: georg.brandl
components: Documentation
10 matches
Mail list logo