Ray.Allen <ysj....@gmail.com> added the comment:

Besides, not only the header value, but also the header name can only be 
printable ascii characters according to RFC2822:

"A field name MUST be composed of printable US-ASCII characters (i.e., 
characters that have values between 33 and 126, inclusive), except   colon."

But the msg object's __getitem__() seems to accept all ascii characters.

----------
nosy: +ysj.ray

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5871>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to