Skip to content

Commit a02aa62

Browse files
committed
minor #5352 Update http_fundamentals.rst (wouthoekstra)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #5352). Discussion ---------- Update http_fundamentals.rst Modern browsers do support PUT and DELETE, see for example http://stackoverflow.com/questions/165779/are-the-put-delete-head-etc-methods-available-in-most-web-browsers. Commits ------- 1bc5228 Updated text about HTTP methods 46f3665 Update http_fundamentals.rst
2 parents ab84dfc + 1bc5228 commit a02aa62

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

book/http_fundamentals.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +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 don't even support the ``PUT`` and ``DELETE`` methods.
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.
102104

103105
In addition to the first line, an HTTP request invariably contains other
104106
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)