From 1b4d723204b11d5972160574975fce3717a548cb Mon Sep 17 00:00:00 2001 From: acetone Date: Sun, 5 Dec 2021 06:32:27 -0500 Subject: [PATCH] text/plaint mime type --- httpserver.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/httpserver.h b/httpserver.h index 860a0f8..1d0a0a4 100644 --- a/httpserver.h +++ b/httpserver.h @@ -31,6 +31,10 @@ private: HTTP/1.1 200 OK\r\n\ Content-Type: text/html; charset=utf-8\r\n\r\n"; + const QString HEADER_TEXT = "\ +HTTP/1.1 200 OK\r\n\ +Content-Type: text/plain; charset=utf-8\r\n\r\n"; + const QString HEADER_CSS = "\ HTTP/1.1 200 OK\r\n\ Content-Type: text/css; charset=utf-8\r\n\r\n";