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

Commit1bc5228

Browse files
wouthoekstraweaverryan
authored andcommitted
Updated text about HTTP methods
1 parent46f3665 commit1bc5228

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎book/http_fundamentals.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ delete a specific blog entry, for example:
9696
9797
..note::
9898

99-
There are actually nine HTTP methodsdefined by the HTTP specification,
100-
but many of them are not widely used or supported. In reality, many modern
101-
browsers only support ``POST`` and ``GET`` inHTML forms.
102-
The methods ``PUT`` and ``DELETE``are supported in XMLHttpRequests,
103-
which are commonly used in AJAX calls.
99+
There are actually nine HTTP methods(also known as verbs) defined by
100+
the HTTP specification,but many of them are not widely used or supported.
101+
In reality, many modernbrowsers only support ``POST`` and ``GET`` in
102+
HTML forms. Various othersare however supported in XMLHttpRequests,
103+
as well as by Symfony's router.
104104

105105
In addition to the first line, an HTTP request invariably contains other
106106
lines of information called request headers. The headers can supply a wide

‎cookbook/routing/method_parameters.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Faking the Method with ``_method``
8383
2.3, use the:ref:`configuration-framework-http_method_override` option.
8484

8585
Unfortunately, life isn't quite this simple, since most browsers do not
86-
support sending PUT and DELETE requests. Fortunately, Symfony provides you
86+
support sending PUT and DELETE requests as method in HTML forms. Fortunately, Symfony provides you
8787
with a simple way of working around this limitation. By including a ``_method``
8888
parameter in the query string or parameters of an HTTP request, Symfony will
8989
use this as the method when matching routes. Forms automatically include a

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp