Skip to content

Commit 1bc5228

Browse files
wouthoekstraweaverryan
authored andcommitted
Updated text about HTTP methods
1 parent 46f3665 commit 1bc5228

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 methods defined 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`` in HTML 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 modern browsers only support ``POST`` and ``GET`` in
102+
HTML forms. Various others are 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy