[FEATURE] Allow multiple HTTP headers of the same type in TS 14/27814/6
authorMarco Huber <mhuber84@web.de>
Mon, 24 Feb 2014 13:01:58 +0000 (14:01 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 3 Jan 2015 17:13:14 +0000 (18:13 +0100)
commita5f57f0dac2658bd09b6a415b1bc09b61bc6cc7b
tree70db645b19f73787c52fc6203ba82ea29ef0e80a
parent19af43601dcd03d1320b9183fce33561ecb7c8c1
[FEATURE] Allow multiple HTTP headers of the same type in TS

Allows multiple HTTP headers of the same type in
config.additionalHeaders by extending the configuration
possibilities:

mypage.config.additionalHeaders {
10 {
#the header string
header = WWW-Authenticate: Negotiate

#replace previous headers with the same name
                #optional, default is 1 (yes)
                replace = 0

                #force the HTTP response code
#optional
                httpResponseCode = 401
}
}

See also: http://php.net/header

Resolves: #56236
Releases: master
Change-Id: I25b4c755459b3ad718624426a32f217055c189e5
Reviewed-on: http://review.typo3.org/27814
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Documentation/Changelog/master/Feature-56236-Multiple-HTTP-Headers-In-Frontend.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php