forked from cat/WebBase
Apparently its text/plain not text/text
This commit is contained in:
@@ -18,6 +18,6 @@ void Webserver::initResponses() {
|
||||
};
|
||||
|
||||
responseMethods["POST"]["/upload"] = [](HTTPrequest *self) {
|
||||
self->sendResponse("200 OK", "text/text", self->bodyContent);
|
||||
self->sendResponse("200 OK", "text/plain", self->bodyContent);
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user