[TYPO3-core] RFC: #9281: Add a method to easily do a HTTP redirect

Martin Kutschker masi-no at spam-typo3.org
Fri Sep 5 17:06:57 CEST 2008


Steffen Kamper schrieb:
> Steffen Kamper schrieb:
>> Ingo Renner schrieb:
>>> Steffen Kamper wrote:
>>>
>>> Hi Steffen,
>>>
>>>> just a side idea - could we add standard headers to t3lib_div
>>>> class-constants? Would make it more easy to choose a different header
>>>
>>> sure, go ahead and propose some. OTOH that would then maybe fit
>>> better into a t3lib_http class...
>>>
>>>
>>> Ingo
>>>
>>
>> ok, here is my suggestion (now for t3lib_div)
>>
>> vg Steffen
>>
> 
> no comments to the constants?

Instead of HTTP_REDIRECT_HEADER_* use simpyl the shorter HTTP_STATUS_ as
the "redirect" part is implied by the 3xx status and we might use other
stati later on which won't fit in your constant naming proposal.

Masi


More information about the TYPO3-team-core mailing list