[FEATURE] Add stdWrap to config.additionalHeaders
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Feature-23494-AddStdWrapToConfigadditionalHeaders.rst
1 .. include:: ../../Includes.txt
2
3 =========================================================
4 Feature: #23494 - Add stdWrap to config.additionalHeaders
5 =========================================================
6
7 See :issue:`23494`
8
9 Description
10 ===========
11
12 Add stdWrap to the elements of the additionalHeaders array. This gives full control over sending an HTTP header.
13
14 .. code-block:: typoscript
15
16 config.additionalHeaders {
17 10.header = foo:
18 10.header.dataWrap = |{page:uid}
19 }
20
21
22 Impact
23 ======
24
25 Allow to use stdWrap on the elements `header`, `replace` and `httpResponseCode`. Empty headers will be skipped now.
26
27 .. index:: TypoScript