Does it suffice to change:

        self.pat = re.compile(
            as_bytes(r'--%s(--)?[ \t]*\r\n' % re.escape(boundary)))

to

        self.pat = re.compile(
            as_bytes(r'--%s(--)?[ \t]*(\r\n)?' % re.escape(boundary)))

in MIMEInput.__init__()?


_______________________________________________
QP mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/qp

Reply via email to