mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed #24644 -- Added HTTP_ACCEPT to example headers list.
This commit is contained in:
committed by
Tim Graham
parent
d3bf5e7b00
commit
62261ddd0f
@@ -130,8 +130,9 @@ All attributes should be considered read-only, unless stated otherwise below.
|
|||||||
Available headers depend on the client and server, but here are some
|
Available headers depend on the client and server, but here are some
|
||||||
examples:
|
examples:
|
||||||
|
|
||||||
* ``CONTENT_LENGTH`` -- the length of the request body (as a string).
|
* ``CONTENT_LENGTH`` -- The length of the request body (as a string).
|
||||||
* ``CONTENT_TYPE`` -- the MIME type of the request body.
|
* ``CONTENT_TYPE`` -- The MIME type of the request body.
|
||||||
|
* ``HTTP_ACCEPT`` -- Acceptable content types for the response.
|
||||||
* ``HTTP_ACCEPT_ENCODING`` -- Acceptable encodings for the response.
|
* ``HTTP_ACCEPT_ENCODING`` -- Acceptable encodings for the response.
|
||||||
* ``HTTP_ACCEPT_LANGUAGE`` -- Acceptable languages for the response.
|
* ``HTTP_ACCEPT_LANGUAGE`` -- Acceptable languages for the response.
|
||||||
* ``HTTP_HOST`` -- The HTTP Host header sent by the client.
|
* ``HTTP_HOST`` -- The HTTP Host header sent by the client.
|
||||||
|
|||||||
Reference in New Issue
Block a user