File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -966,6 +966,8 @@ Response Config Options
966966 'auto_language' => false,
967967 'language_instance' => 'default',
968968 'cache' => null,
969+ 'csp' => [],
970+ 'csp_report_only' => [],
969971 'request_instance' => 'default',
970972 ],
971973 ],
@@ -1002,6 +1004,24 @@ to set cache seconds and optionally ``public`` to true or false to ``private``.
10021004
10031005The default is not to set these settings.
10041006
1007+ csp
1008+ """
1009+
1010+ If it is empty, it does nothing.
1011+
1012+ It can take an array of directives to initialize an instance of
1013+ ``Framework\HTTP\CSP `` and pass it as the **Content-Security-Policy ** of the
1014+ response.
1015+
1016+ csp_report_only
1017+ """""""""""""""
1018+
1019+ If it is empty, it does nothing.
1020+
1021+ It can take an array of directives to initialize an instance of
1022+ ``Framework\HTTP\CSP `` and pass it as the **Content-Security-Policy-Report-Only **
1023+ of the response.
1024+
10051025request_instance
10061026""""""""""""""""
10071027
You can’t perform that action at this time.
0 commit comments