From 7fa412546364ca3705fadad8429f6b38feca5a88 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 21 Jul 2022 00:54:51 +0200 Subject: [PATCH] Small temporary typo fix. --- modules/web/http_server_simple/http_server_simple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web/http_server_simple/http_server_simple.cpp b/modules/web/http_server_simple/http_server_simple.cpp index 6e7038ded..35686c4ee 100644 --- a/modules/web/http_server_simple/http_server_simple.cpp +++ b/modules/web/http_server_simple/http_server_simple.cpp @@ -223,7 +223,7 @@ void HTTPServerSimple::send_redirect(const String &location, const HTTPServerEnu peer->put_data((const uint8_t *)cs.get_data(), cs.size() - 1); } void HTTPServerSimple::send(const String &body) { - String s = "HTTP/1.1 302 Found\r\n"; + String s = "HTTP/1.1 200 OK\r\n"; s += "Content-Length: " + itos(body.size()) + "\r\n"; s += "Content-type: text/html\r\n"; s += "Connection: Close\r\n";