[issue18886] BytesGenerator does not handle 'binary' CTE correctly

R. David Murray report at bugs.python.org
Tue Mar 4 16:48:50 CET 2014


R. David Murray added the comment:

cte binary has nothing to do with headers (other than appearing as the value of the content-transfer-encoding header).  It is about how the body of the email is handled.  ByteGenerator needs to be modified to not do anything with a payload whose cte is binary other than write it to the output stream as bytes.  This of course means it is ignoring max_line_length...so it is an interesting question whether or not CTE binary should be supported if max_line_length is anything other than 0/None.

----------

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


More information about the Python-bugs-list mailing list