mirror of
https://github.com/kakwa/uts-server
synced 2024-06-03 09:38:07 +02:00
fix content type
This commit is contained in:
parent
fb068a341e
commit
860fd9475e
|
@ -79,7 +79,7 @@ static int begin_request_handler(struct mg_connection *conn) {
|
||||||
// Send HTTP reply to the client
|
// Send HTTP reply to the client
|
||||||
mg_printf(conn,
|
mg_printf(conn,
|
||||||
"HTTP/1.1 200 OK\r\n"
|
"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
|
"Content-Length: %d\r\n" // Always set Content-Length
|
||||||
"\r\n"
|
"\r\n"
|
||||||
"%s",
|
"%s",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user