Mariusz Masztalerczuk added the comment: I think that it is not bug. It is just rfc ;) Due to https://www.ietf.org/rfc/rfc2822.txt,
A message consists of header fields, optionally followed by a message body. Lines in a message MUST be a maximum of 998 characters excluding the CRLF, but it is RECOMMENDED that lines be limited to 78 characters excluding the CRLF Because you have the line with the size more then 78 chars (the header + value), the python is trying to break this line into two. Maybe there should be option to increase this value to something more then 78? (because max is 998 due to rfc) ---------- nosy: +mmasztalerczuk _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28463> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com