Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SW_HTTPServer by
Diff: SW_HTTPServer.cpp
- Revision:
- 26:38102ef2b132
- Parent:
- 25:f7d6df7a700a
- Child:
- 27:90a1f5a5392f
--- a/SW_HTTPServer.cpp Thu Oct 10 18:42:27 2013 +0000 +++ b/SW_HTTPServer.cpp Thu Oct 10 18:46:55 2013 +0000 @@ -513,16 +513,13 @@ queryString = rewritePrependWebroot(queryString); SendFile(queryString, fType); } else { - //pc->printf("Unsupported file type %s\r\n", queryString); header(404, "Not Found", "Pragma: err - Unsupported type\r\n"); } } } else { - //pc->printf("Unsupported path %s\r\n", queryString); header(400, "Bad Request", "Pragma: err - Unsupported path\r\n"); } } else { - //pc->printf("Unsupported query type %s\r\n", queryType); header(400, "Bad Request", "Pragma: err - Unsupported query type\r\n"); } #ifdef DEBUG