Hello!
I know spray is being replaced by akka-http but we are still using it in some old projects (difficult to migrate).
We have a code like this to marshal OurMessage case class to multipart http *response* :
implicit val multipartMessageWriter =
Marshaller.delegate[OurMessage, MultipartFormData](MediaTypes.`multipart/form-data`) { message =>
MultipartFormData(<body parts here>)
}
The response is almost good, but there is no "boundary" parameter in "Content-type" header:
HTTP/1.1 200 OK
Server: spray-can/1.3.2
Date: Wed, 12 Jul 2017 15:21:57 GMT
Content-Type: multipart/form-data; charset=UTF-8
Content-Length: 2173857
--ic2MGMLm2bK1SIkiEKKlyB25
...
Is this a bug or I missunderstand something?
Thanks!