File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -966,6 +966,8 @@ Response Config Options
966
966
'auto_language' => false,
967
967
'language_instance' => 'default',
968
968
'cache' => null,
969
+ 'csp' => [],
970
+ 'csp_report_only' => [],
969
971
'request_instance' => 'default',
970
972
],
971
973
],
@@ -1002,6 +1004,24 @@ to set cache seconds and optionally ``public`` to true or false to ``private``.
1002
1004
1003
1005
The default is not to set these settings.
1004
1006
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
+
1005
1025
request_instance
1006
1026
""""""""""""""""
1007
1027
You can’t perform that action at this time.
0 commit comments