Ooops, correctly send content type in HTTP response header.

This commit is contained in:
Andreas Öman 2008-09-07 12:07:57 +00:00
parent 872ce2c0ea
commit f21f7e0a09

2
http.c
View file

@ -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"