Cortex
Cortex copied to clipboard
Play Framework does not support "Header folding" (RFC 822) used in multipart/form-data POST request
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.