Re: cvs: php4(PHP_4_3) / php.ini-dist php.ini-recommended /sapi/cgi cgi_main.c
| From: | Edin Kadribasic | Date: | Fri, 22 Nov 2002 12:12:03 +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-16548@lists.php.net to get a copy of this message | ||
On Fri, 22 Nov 2002, Sascha Schumann wrote:
> > This *is* cleaner approach, but if we wanted to keep as close to pre-4.3
> > behaviour as possible I thing that "HTTP/1.0 %d Code\r\n" should be
> > replaced with SG(sapi_headers).http_status_line.
>
> Well, if the user enables rfc2616_header, we should surely
> generate a RFC 2616 header, don't you think?
Yes. SG(sapi_headers).http_status_line will always contain a RFC 2616
header for non-200 status codes. Please have a look at the attached
revision of your previous patch.
Edin