[issue6302] Add decode_header_as_string method to email.utils
R. David Murray
report at bugs.python.org
Wed May 16 03:18:13 CEST 2012
R. David Murray <rdmurray at bitdance.com> added the comment:
All of this is going to be fixed a different (better :) way in an upcoming patch that will add a new header parsing/folding policy to the email package.
For the record, the way to spell the "decode a header and return a string" function using the existing API is:
str(make_header(decode_header(<someheader>)))
----------
resolution: -> rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6302>
_______________________________________
More information about the Python-bugs-list
mailing list