File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -176,14 +176,21 @@ bootstrap the Symfony framework on a cache hit.
176
176
http_method_override
177
177
~~~~~~~~~~~~~~~~~~~~
178
178
179
- **type **: ``boolean `` **default **: `` true ``
179
+ **type **: ``boolean `` **default **: (see explanation below)
180
180
181
181
This determines whether the ``_method `` request parameter is used as the
182
182
intended HTTP method on POST requests. If enabled, the
183
183
:method: `Request::enableHttpMethodParameterOverride <Symfony\\ Component\\ HttpFoundation\\ Request::enableHttpMethodParameterOverride> `
184
184
method gets called automatically. It becomes the service container parameter
185
185
named ``kernel.http_method_override ``.
186
186
187
+ The **default value ** is:
188
+
189
+ * ``true ``, if you have an existing application that you've upgraded from an older
190
+ Symfony version without resyncing the :doc: `Symfony Flex </setup/flex >` recipes;
191
+ * ``false ``, if you've created a new Symfony application or updated the Symfony
192
+ Flex recipes. This is also the default value starting from Symfony 7.0.
193
+
187
194
.. seealso ::
188
195
189
196
:ref: `Changing the Action and HTTP Method <forms-change-action-method >` of
You can’t perform that action at this time.
0 commit comments