[issue4773] HTTPMessage not documented and has inconsistent API across 2.6/3.0

Barry A. Warsaw report at bugs.python.org
Thu Mar 26 22:29:58 CET 2009


Barry A. Warsaw <barry at python.org> added the comment:

I propose that you only document the getitem header access API.  I.e.
the thing that info() gives you can be used to access the message
headers via message['content-type'].  That's an API common to both
rfc822.Messages (the ultimate base class of mimetools.Message) and
email.message.Message.

----------
nosy: +barry

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4773>
_______________________________________


More information about the Python-bugs-list mailing list