Fixed missing content-type

This commit is contained in:
Stefan Ritt 2014-10-01 08:18:58 +02:00
parent 9ba0408874
commit 87b1e8e397

View File

@ -7208,7 +7208,7 @@ void show_http_header(LOGBOOK * lbs, BOOL expires, char *cookie)
rsprintf("Server: ELOG HTTP %s-%s\r\n", VERSION, git_revision + 33);
if (getcfg("global", "charset", str, sizeof(str)))
rsprintf(": text/html;charset=%s\r\n", str);
rsprintf("Content-Type: text/html;charset=%s\r\n", str);
else
rsprintf("Content-Type: text/html;charset=%s\r\n", DEFAULT_HTTP_CHARSET);