File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,19 @@ named ``kernel.http_method_override``.
180
180
$request = Request::createFromGlobals();
181
181
// ...
182
182
183
+
184
+ .. _configuration-framework-http_method_override :
185
+
186
+ trust_x_sendfile_type_header
187
+ ~~~~~~~~~~~~~~~~~~~~
188
+
189
+ **type **: ``boolean `` **default **: ``false ``
190
+
191
+ This determines whether to trust ``x-sendfile `` header for BinaryFileResponse. If enabled, the
192
+ :method: `BinaryFileResponse::trustXSendfileTypeHeader <Symfony\\ Component\\ HttpFoundation\\ BinaryFileResponse::trustXSendfileTypeHeader> `
193
+ method gets called automatically. It becomes the service container parameter
194
+ named ``kernel.trust_x_sendfile_type_header ``.
195
+
183
196
.. _reference-framework-trusted-headers :
184
197
185
198
trusted_headers
You can’t perform that action at this time.
0 commit comments