R. David Murray added the comment:

The line wrapping is done by Header, not header_encode.  The bug appears to be 
that maxlinelen=None is not passed to base64mime's header_encode the way it is 
to quoprimime's header_encode...and that base64mime doesn't handle a maxlinelen 
of None.  Using maxlinelen=9999999 in the base64mime.header_encode calll, your 
base64 example also results in a single line header.

This should be fixed.  It does not affect python3, which uses a different 
folding algorithm.

----------

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

Reply via email to