mirror of
https://github.com/django/django.git
synced 2025-11-17 18:48:15 +00:00
Merge 1ccad66d63 into 5c60763561
This commit is contained in:
commit
35ebe4b8e6
1 changed files with 4 additions and 2 deletions
|
|
@ -113,8 +113,10 @@ ancestor classes are documented under the section title of **Ancestors
|
|||
If the view was called with an HTTP method it doesn't support, this
|
||||
method is called instead.
|
||||
|
||||
The default implementation returns ``HttpResponseNotAllowed`` with a
|
||||
list of allowed methods in plain text.
|
||||
The default implementation returns ``HttpResponseNotAllowed`` with the
|
||||
list of allowed methods in the ``Allow`` header. The response body is
|
||||
empty, as required by :rfc:`RFC 7231 <7231#section-6.5.5>`.
|
||||
|
||||
|
||||
.. method:: options(request, *args, **kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue