Lines Matching refs:cookies
1 :mod:`http.cookies` --- HTTP state management
4 .. module:: http.cookies
5 :synopsis: Support for HTTP state management (cookies).
10 **Source code:** :source:`Lib/http/cookies.py`
14 The :mod:`http.cookies` module defines classes for abstracting the concept of
15 cookies, an HTTP state management mechanism. It supports both simple string-only
16 cookies, and provides an abstraction for having any serializable data-type as
66 :mod:`http.cookies` modules do not depend on each other.
245 The following example demonstrates how to use the :mod:`http.cookies` module.
250 >>> from http import cookies
251 >>> C = cookies.SimpleCookie()
260 >>> C = cookies.SimpleCookie()
267 >>> C = cookies.SimpleCookie()
272 >>> C = cookies.SimpleCookie()
276 >>> C = cookies.SimpleCookie()
281 >>> C = cookies.SimpleCookie()
285 >>> C = cookies.SimpleCookie()