• Barry Warsaw's avatar
    _parsebody(): Do not create subparts unless the container has a main type of · 36d0f15a
    Barry Warsaw yazdı
    'multipart' and the boundary is defined.  This fixes SF bug # 846938, and
    several recent email-sig bugs where something like a text/html message also
    had a boundary parameter.  This would later crash the Generator, which only
    consulted the Content-Type to decide how to generate the message (and it would
    expect just a string, but find a list there instead).
    36d0f15a
Parser.py 12.5 KB