netty5/codec-http/src
houdejun214 a6fd8a96bf Set default CONTENT_TYPE when it is absent in multipart request body
Motivation:

I am use netty as a http server, it fail to decode some POST request when the request absent Content-Type in the multipart/form-data body.

Modifications:

Set content_type with default application/octet-stream to parse the uploaded file data when the Content-Type is absent in multipart request body

Result:

Can decode the http request as normal.
2016-01-26 10:47:11 +01:00
..
main/java/io/netty/handler/codec Set default CONTENT_TYPE when it is absent in multipart request body 2016-01-26 10:47:11 +01:00
test Set default CONTENT_TYPE when it is absent in multipart request body 2016-01-26 10:47:11 +01:00