Re: cvs: php4(PHP_4_3) / php.ini-dist php.ini-recommended /sapi/cgi cgi_main.c

From: Date: Fri, 22 Nov 2002 10:53:21 +0000
Subject: Re: cvs: php4(PHP_4_3) / php.ini-dist php.ini-recommended /sapi/cgi cgi_main.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16542@lists.php.net to get a copy of this message
On Fri, 22 Nov 2002, Sascha Schumann wrote: > > + if (rfc2616_headers && SG(sapi_headers).http_status_line) { > > + len = sprintf(buf, "%s\r\n", SG(sapi_headers).http_status_line); > > So, if the user specifies that he wants to have > rfc2616_headers, but http_status_line is not set, he gets the > Status: line nevertheless? What should the correct behavior be. Send no default header (sending status: amounts to this for a server that does not support it)? Send "HTTP/1.0 200 OK"? Edin

« previous php.cvs (#16542) next »