mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
[4.0.x] Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.
Backport of 69b0736fad from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
c067a2b68f
commit
6aa917383f
@@ -86,7 +86,7 @@ MRO is an acronym for Method Resolution Order.
|
||||
.. method:: dispatch(request, *args, **kwargs)
|
||||
|
||||
The ``view`` part of the view -- the method that accepts a ``request``
|
||||
argument plus arguments, and returns a HTTP response.
|
||||
argument plus arguments, and returns an HTTP response.
|
||||
|
||||
The default implementation will inspect the HTTP method and attempt to
|
||||
delegate to a method that matches the HTTP method; a ``GET`` will be
|
||||
@@ -99,7 +99,7 @@ MRO is an acronym for Method Resolution Order.
|
||||
|
||||
.. method:: http_method_not_allowed(request, *args, **kwargs)
|
||||
|
||||
If the view was called with a HTTP method it doesn't support, this
|
||||
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
|
||||
|
||||
@@ -179,7 +179,7 @@ list of errors.
|
||||
|
||||
.. exception:: RequestAborted
|
||||
|
||||
The :exc:`RequestAborted` exception is raised when a HTTP body being read
|
||||
The :exc:`RequestAborted` exception is raised when an HTTP body being read
|
||||
in by the handler is cut off midstream and the client connection closes,
|
||||
or when the client does not send data and hits a timeout where the server
|
||||
closes the connection.
|
||||
|
||||
@@ -2349,7 +2349,7 @@ already have it.
|
||||
|
||||
Default: ``None``
|
||||
|
||||
A tuple representing a HTTP header/value combination that signifies a request
|
||||
A tuple representing an HTTP header/value combination that signifies a request
|
||||
is secure. This controls the behavior of the request object's ``is_secure()``
|
||||
method.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user