summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.cookies.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/http.cookies.rst')
-rw-r--r--Doc/library/http.cookies.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/library/http.cookies.rst b/Doc/library/http.cookies.rst
index 646f2e8..46c3bbd 100644
--- a/Doc/library/http.cookies.rst
+++ b/Doc/library/http.cookies.rst
@@ -148,16 +148,28 @@ Morsel Objects
The value of the cookie.
+ .. deprecated:: 3.5
+ Setting :attr:`~Morsel.value` directly has been deprecated in favour of
+ using :func:`~Morsel.set`
+
.. attribute:: Morsel.coded_value
The encoded value of the cookie --- this is what should be sent.
+ .. deprecated:: 3.5
+ Setting :attr:`~Morsel.coded_value` directly has been deprecated in
+ favour of using :func:`~Morsel.set`
+
.. attribute:: Morsel.key
The name of the cookie.
+ .. deprecated:: 3.5
+ Setting :attr:`~Morsel.key` directly has been deprecated in
+ favour of using :func:`~Morsel.set`
+
.. method:: Morsel.set(key, value, coded_value)