Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Doc/library/http.cookies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ in a cookie name (as :attr:`~Morsel.key`).
.. versionchanged:: 3.3
Allowed ':' as a valid cookie name character.
Comment thread
nburns marked this conversation as resolved.
Outdated

.. versionchanged:: 3.15
Comment thread
nburns marked this conversation as resolved.
Outdated
Allowed '"' as a valid cookie value character.
Comment thread
nburns marked this conversation as resolved.
Outdated

.. note::

Expand Down Expand Up @@ -314,3 +316,9 @@ The following example demonstrates how to use the :mod:`http.cookies` module.
>>> print(C)
Set-Cookie: number=7
Set-Cookie: string=seven
>>> C = cookies.SimpleCookie()
>>> C.load('cookies=7; mixins="{"chips": "dark chocolate"}"; state="gooey"')
>>> print(C)
Set-Cookie: cookies=7
Set-Cookie: mixins="{"chips": "dark chocolate"}"
Comment thread
nburns marked this conversation as resolved.
Set-Cookie: state="gooey"
Comment thread
nburns marked this conversation as resolved.
Outdated
Loading