[4.2.x] Doc'd HttpResponse.cookies.

Backport of 5bfb3cbf49 from main
This commit is contained in:
Michele Mazzucchi 2023-09-12 13:40:12 +02:00 committed by Mariusz Felisiak
parent 97e8a2afb1
commit 866122690d
1 changed files with 7 additions and 1 deletions

View File

@ -786,10 +786,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