text/plaint mime type

master
const an teen 2021-12-05 06:32:27 -05:00
parent af19210cad
commit 1b4d723204
1 changed files with 4 additions and 0 deletions

View File

@ -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";