Skip to content

Commit d01588c

Browse files
committed
[HttpFoundation] update supported HTTP methods list for X-HTTP-METHOD-OVERRIDE
1 parent d4e2153 commit d01588c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

reference/configuration/framework.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,9 +1786,10 @@ This option controls which HTTP methods can be overridden via the ``_method``
17861786
request parameter or the ``X-HTTP-METHOD-OVERRIDE`` header when
17871787
:ref:`http_method_override <configuration-framework-http_method_override>` is enabled.
17881788

1789-
When set to ``null`` (the default), all HTTP methods can be overridden. When set
1790-
to an empty array (``[]``), HTTP method overriding is completely disabled. When
1791-
set to a specific list of methods, only those methods will be allowed as overrides:
1789+
When set to ``null`` (the default), all HTTP methods except for ``GET``, ``HEAD``,
1790+
``TRACE``, and ``CONNECT`` can be overridden. When set to an empty array (``[]``),
1791+
HTTP method overriding is completely disabled. When set to a specific list of methods,
1792+
only those methods will be allowed as overrides:
17921793

17931794
.. configuration-block::
17941795

0 commit comments

Comments
 (0)