| 13 | #include "HttpMultipartResource.h" |
| 14 | |
| 15 | int HttpMultipartResource::setFileMap(HttpServerConnection&, HttpRequest& request, HttpResponse& response) |
| 16 | { |
| 17 | String contentType = request.headers[HTTP_HEADER_CONTENT_TYPE]; |
| 18 | String mimeType = toString(MIME_FORM_MULTIPART); |
| 19 | if(!(request.method == HTTP_POST && contentType.startsWith(mimeType))) { |
| 20 | return 0; |
| 21 | } |
| 22 | |
| 23 | mapper(request.files); |
| 24 | |
| 25 | return 0; |
| 26 | } |
nothing calls this directly
no test coverage detected