Skip to content

Update http_fundamentals.rst #5352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions book/http_fundamentals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ delete a specific blog entry, for example:
.. note::

There are actually nine HTTP methods defined by the HTTP specification,
but many of them are not widely used or supported. In reality, many modern
browsers don't even support the ``PUT`` and ``DELETE`` methods.
There are actually nine HTTP methods (also known as verbs) defined by
the HTTP specification, but many of them are not widely used or supported.
In reality, many modern browsers only support ``POST`` and ``GET`` in
HTML forms. Various others are however supported in XMLHttpRequests,
as well as by Symfony's router.

In addition to the first line, an HTTP request invariably contains other
lines of information called request headers. The headers can supply a wide
Expand Down
2 changes: 1 addition & 1 deletion cookbook/routing/method_parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Faking the Method with ``_method``
2.3, use the :ref:`configuration-framework-http_method_override` option.

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