Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4555495

Browse files
committed
Update note wording for "method" option
1 parent70ca6da commit4555495

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎reference/forms/types/options/method.rst.inc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ used to decide whether to process the form submission in the
1919
2020
.. note:
2121
22-
If not natively supported by a client, Symfony allows to simulate PUT,
23-
DELETE and PATCH requests by using a POST request instead and passing the
24-
intended "real" method by either using a ``X-HTTP-Method-Override``
25-
request header or by passing it via the special ``_method`` data field.
26-
For more information see :doc:`/cookbook/routing/method_parameters`.
22+
When the method is PUT, PATCH, or DELETE, Symfony will automatically
23+
render a ``_method`` hidden field in your form. This is used to "fake"
24+
these HTTP methods, as they're not supported on standard browsers. For
25+
more information,see:doc:`/cookbook/routing/method_parameters`.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp