Skip to content

Commit 46f3665

Browse files
wouthoekstraweaverryan
authored andcommitted
Update http_fundamentals.rst
Added some nuance to note about PUT and DELETE in modern browsers.
1 parent ab84dfc commit 46f3665

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

book/http_fundamentals.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ delete a specific blog entry, for example:
9898

9999
There are actually nine HTTP methods defined by the HTTP specification,
100100
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.
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.
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

0 commit comments

Comments
 (0)