diff options
| author | Michele Mazzucchi <m.mazzucchi@frontdam.com> | 2023-09-12 13:40:12 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-09-14 11:21:47 +0200 |
| commit | 5bfb3cbf49e2b9701e7c42989e14a72374adb6bd (patch) | |
| tree | 65bb2af56cdd60b572ed5d349eeb37c8b3ecde74 /docs | |
| parent | 91e617c743b21a0ebad01f18623a8b31f6f58500 (diff) | |
Doc'd HttpResponse.cookies.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/request-response.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index ee98b4b8b1..036f7004d2 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -800,10 +800,16 @@ Attributes 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 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 |
