mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed missing content-type
This commit is contained in:
parent
9ba0408874
commit
87b1e8e397
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user