mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
A CRLF at the end of a line is not so wrong.
This commit is contained in:
parent
61618d4a03
commit
64c4456cca
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user