]> granicus.if.org Git - php/commitdiff
A CRLF at the end of a line is not so wrong.
authorSascha Schumann <sas@php.net>
Tue, 7 Aug 2001 08:35:54 +0000 (08:35 +0000)
committerSascha Schumann <sas@php.net>
Tue, 7 Aug 2001 08:35:54 +0000 (08:35 +0000)
sapi/thttpd/thttpd.c

index 04be81603b445cad26037a636a781061b21e781d..ddb531a644f53b08d572370fe33be12f0e27a07b 100644 (file)
@@ -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;