Ooops, correctly send content type in HTTP response header.
This commit is contained in:
parent
872ce2c0ea
commit
f21f7e0a09
1 changed files with 1 additions and 1 deletions
2
http.c
2
http.c
|
@ -200,7 +200,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content,
|
|||
htsbuf_qprintf(&hdrs, "Location: %s\r\n", location);
|
||||
|
||||
if(content != NULL)
|
||||
htsbuf_qprintf(&hdrs, "Content-Type: %s\r\n");
|
||||
htsbuf_qprintf(&hdrs, "Content-Type: %s\r\n", content);
|
||||
|
||||
htsbuf_qprintf(&hdrs,
|
||||
"Content-Length: %d\r\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue