Griffin.WebServer icon indicating copy to clipboard operation
Griffin.WebServer copied to clipboard

Missing Content-Type in request produce BadRequest

Open albertVel opened this issue 7 years ago • 1 comments

Hello,

we're experiencing issues when receiving requests from a device that doesn't indicate the Content-Type in its requests. The requests are type POST and its content is application/octet-stream

As described in https://stackoverflow.com/a/15860815 the Griffin.WebServer should not return a Bad Request. Instead should try to guess the Content Type of the content or consider it as application/octet-stream.

albertVel avatar May 31 '17 09:05 albertVel

Why kind of error do you get? Can you reproduce it?

jgauffin avatar Feb 13 '18 14:02 jgauffin