Cortex icon indicating copy to clipboard operation
Cortex copied to clipboard

Play Framework does not support "Header folding" (RFC 822) used in multipart/form-data POST request

Open jeromeleonard opened this issue 4 years ago • 0 comments

In some cases, POST queries can use multipart/form-data with muli lines headers. In this case, Cortex generate an error like:

        {
            "name": "dataType",
            "type": "MissingAttributeError",
            "message": "Attribute dataType is missing"
        },
        {
            "name": "data/attachment",
            "type": "MissingAttributeError",
            "message": "Attribute data/attachment is missing"
        }

After investigation from @To-om, current version of Play framework does not support "Header folding" defined in the RFC 822 https://tools.ietf.org/html/rfc822#section-3.1.1.

jeromeleonard avatar Feb 10 '21 17:02 jeromeleonard