From 64c4456cca9d8248b8239bf199b44532b6607bf7 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Tue, 7 Aug 2001 08:35:54 +0000 Subject: [PATCH] A CRLF at the end of a line is not so wrong. --- sapi/thttpd/thttpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/thttpd/thttpd.c b/sapi/thttpd/thttpd.c index 04be81603b..ddb531a644 100644 --- a/sapi/thttpd/thttpd.c +++ b/sapi/thttpd/thttpd.c @@ -95,7 +95,7 @@ static int sapi_thttpd_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC) TG(hc)->bytes_sent += len; n++; -#define DEF_CONTENT_TYPE_LINE "Content-Type: text/html" +#define DEF_CONTENT_TYPE_LINE "Content-Type: text/html\r\n" if (SG(sapi_headers).send_default_content_type) { vec[n].iov_base = DEF_CONTENT_TYPE_LINE; vec[n].iov_len = sizeof(DEF_CONTENT_TYPE_LINE) - 1; -- 2.50.1