Skip to content

Content-type header inside the actual content is not mandatory #28

@psoares-resilient

Description

@psoares-resilient

Hi,

Sending a multipart that contains no Content-Type header inside breaks the parsing... Content-Type is used after the filename for matches, however it is not to be assumed there. Taken from the RFC1341

"A body part is NOT to be interpreted as actually being an RFC 822 message. To begin with, NO header fields are actually required in body parts. (...) the absence of a Content-Type header field implies that the encapsulation is plain US-ASCII text."

https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html

We want to use this lib but we will have to use a fork instead and raise a PR if this is still being maintained?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions