Re: Re: #18824 [NEW]: PHP should produce an appropriate

From: Date: Fri, 09 Aug 2002 09:39:35 +0000
Subject: Re: Re: #18824 [NEW]: PHP should produce an appropriate
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-86682@lists.php.net to get a copy of this message
On Fri, 09 Aug 2002 11:28:20 +0200, Rasmus Lerdorf wrote: > Buffering should be transparent and should not have a different http > status code from a non-buffered. There are already differences with regard to output buffering or not. Like the way cookie-setting should designed by the web developer. But OK; it may be valid point, depending how "transparent" is interpreted. Would it be difficult to add a configuration option which, when enabled, makes PHP send an 500 HTTP response code _if possible_ in case of fatal errors? "if possible" would probably mean "if output buffering is on or if no HTTP request body has been sent yet". I know that we would use such a feature. -- Greetings from Troels Arvin, Copenhagen, Denmark

« previous php.dev (#86682) next »