fix content type

This commit is contained in:
kakwa 2016-08-23 20:16:54 +02:00
parent fb068a341e
commit 860fd9475e
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ static int begin_request_handler(struct mg_connection *conn) {
// Send HTTP reply to the client
mg_printf(conn,
"HTTP/1.1 200 OK\r\n"
"Content-Type: text/plain\r\n"
"Content-Type: application/timestamp-reply\r\n"
"Content-Length: %d\r\n" // Always set Content-Length
"\r\n"
"%s",