From f21f7e0a0975879fe3f493a10d8d3b62491c7256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sun, 7 Sep 2008 12:07:57 +0000 Subject: [PATCH] Ooops, correctly send content type in HTTP response header. --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.c b/http.c index 5ec28f86..fc3b0f7e 100644 --- a/http.c +++ b/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"