mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-20 11:19:56 +00:00
Removed "Content-Type: text/plain" header from send_http_error() response.
This commit is contained in:
1 parent
5642dfcf38
commit
1e632d3215
1 file changed
-1
@@ -900,7 +900,6 @@ static void send_http_error(struct mg_connection *conn, int status,
|
||||
DEBUG_TRACE(("[%s]", buf));
|
||||
|
||||
mg_printf(conn, "HTTP/1.1 %d %s\r\n"
|
||||
"Content-Type: text/plain\r\n"
|
||||
"Content-Length: %d\r\n"
|
||||
"Connection: %s\r\n\r\n", status, reason, len,
|
||||
suggest_connection_header(conn));
|
||||
|
||||
Reference in new issue
Block a user