[TYPO3-core] Sending correct headers on errors
Ingo Renner
typo3 at ingo-renner.com
Thu Jun 14 12:06:19 CEST 2007
Am 14.06.2007 um 10:16 schrieb Andreas Otto:
> Hi Dmitry,
>
> Dmitry Dulepov wrote:
>> I would say it should be configurable through install tool with
>> default
>> value set to "503 Server error".
>
> Have a look at the attached patch. There might be situations where
> 503 is
> not the correct response. To make this configurable we would need to
> introduce more configuration options than just one.
simple one, +1
some room for improovment though:
for 4.2 we should get a
public function header($statusCode, $reason='') {
}
in t3lib_div so that we only need to do a t3lib_div::header(404) or
t3lib_div::header(404, 'rootline broken')...
Ingo
More information about the TYPO3-team-core
mailing list