Kai Groner added the comment: >From https://tools.ietf.org/html/rfc2045#section-4 > Note that the MIME-Version header field is required at the top level > of a message. It is not required for each body part of a multipart > entity. It is required for the embedded headers of a body of type > "message/rfc822" or "message/partial" if and only if the embedded > message is itself claimed to be MIME-conformant.
This patch looks like it avoids adding a MIME-Version header to parts with no mime metadata, but it can actually be omitted from most parts. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25235> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com