1
0
forked from cat/WebBase

Apparently its text/plain not text/text

This commit is contained in:
2025-07-05 01:38:00 +03:00
parent b1e96274ae
commit aa52f4045c

View File

@@ -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);
};
}