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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
wouthoekstra wants to merge2 commits intosymfony:2.8fromwouthoekstra:patch-1
Closed
Show file tree
Hide file tree
Changes from1 commit
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
PrevPrevious commit
Updated text about HTTP methods
  • Loading branch information
@wouthoekstra
wouthoekstra committedJun 8, 2015
commit6e697b51e696cf2cc69f19a6fe3a10c7f11138be
10 changes: 5 additions & 5 deletionsbook/http_fundamentals.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -96,11 +96,11 @@ delete a specific blog entry, for example:

.. note::

There are actually nine HTTP methodsdefined by the HTTP specification,
but many of them are not widely used or supported. In reality, many modern
browsers only support ``POST`` and ``GET`` inHTML forms.
The methods ``PUT`` and ``DELETE``are supported in XMLHttpRequests,
which are commonly used in AJAX calls.
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 modernbrowsers only support ``POST`` and ``GET`` in
HTML forms. Various othersare 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 deletioncookbook/routing/method_parameters.rst
View file
Open in desktop
Original file line numberDiff line numberDiff 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

[8]ページ先頭

©2009-2025 Movatter.jp