Closed
Description
What did you do?
Ran https://play.golang.org/p/uW3bq_3Z6Ym then in the terminal:
➤ curl -v -i -X POST -H "Content-Type: multipart/mixed" -F "blob=@/tmp/blah.go" -F "metadata={\"something\":123456789};type=application/json" http://localhost:1222/bad -v
What did you expect to see?
No errors from req.MultipartReader()
What did you see instead?
request Content-Type isn't multipart/form-data
If this feature request is accepted, I'd gladly submit a PR to fix it, testing locally the change doesn't have any side effect on current code that expects multipart/form-data
.