mirror of https://github.com/python/cpython
e5e366c856
Analogous to the decode_header fix, this fix makes Header.append and make_header correctly handle the unknown-8bit charset introduced by email5.1, when the input to them is binary strings. Previous to this fix the make_header(decode_header(x)) == x invariant was broken in the face of the unknown-8bit charset. |
||
---|---|---|
.. | ||
mime | ||
test | ||
__init__.py | ||
_parseaddr.py | ||
base64mime.py | ||
charset.py | ||
encoders.py | ||
errors.py | ||
feedparser.py | ||
generator.py | ||
header.py | ||
iterators.py | ||
message.py | ||
parser.py | ||
quoprimime.py | ||
utils.py |