mirror of
https://github.com/django/django.git
synced 2025-03-11 01:42:35 +00:00
Doc'd HttpResponse.cookies.
This commit is contained in:
parent
91e617c743
commit
5bfb3cbf49
@ -800,10 +800,16 @@ Attributes
|
|||||||
|
|
||||||
A bytestring representing the content, encoded from a string if necessary.
|
A bytestring representing the content, encoded from a string if necessary.
|
||||||
|
|
||||||
|
.. attribute:: HttpResponse.cookies
|
||||||
|
|
||||||
|
A :py:obj:`http.cookies.SimpleCookie` object holding the cookies included
|
||||||
|
in the response.
|
||||||
|
|
||||||
.. attribute:: HttpResponse.headers
|
.. attribute:: HttpResponse.headers
|
||||||
|
|
||||||
A case insensitive, dict-like object that provides an interface to all
|
A case insensitive, dict-like object that provides an interface to all
|
||||||
HTTP headers on the response. See :ref:`setting-header-fields`.
|
HTTP headers on the response, except a ``Set-Cookie`` header. See
|
||||||
|
:ref:`setting-header-fields` and :attr:`HttpResponse.cookies`.
|
||||||
|
|
||||||
.. attribute:: HttpResponse.charset
|
.. attribute:: HttpResponse.charset
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user