Targets
Issue appears probably on all targets, but was seen at least on linux and mbed_ethernet
Step to reproduce
- Checkout a fresh smews (bug spotted on develop branch, commit 79a242b)
- build it using the
post_test application
- Run smews and access the http://ip/post_test/index.html url
- Using the form
Post Request With Data Content Type MultiPart send a file that is not a .txt file (any file whose mime type is application/octet-stream is ok)
- Submit the file
Expected results
As the mime type is not enabled in the tools/mimeListPost, smews should not support it and returns a 404 or 505 (not quite sure of what the real good behavior must be)
Actual results
Smews outputs nothing. As a results, the browser stalls and eventually times out.