Lines Matching refs:cookiejar
1 :mod:`http.cookiejar` --- Cookie handling for HTTP clients
4 .. module:: http.cookiejar
10 **Source code:** :source:`Lib/http/cookiejar.py`
14 The :mod:`http.cookiejar` module defines classes for automatic handling of HTTP
24 :mod:`http.cookiejar` attempts to follow the de-facto Netscape cookie protocol (which
104 expected that users of :mod:`http.cookiejar` construct their own :class:`Cookie`
116 :mod:`http.cookiejar` and :mod:`http.cookies` modules do not depend on each
122 the major browsers (and :mod:`http.cookiejar`) only bears a passing resemblance to
441 import http.cookiejar
442 class MyCookiePolicy(http.cookiejar.DefaultCookiePolicy):
444 if not http.cookiejar.DefaultCookiePolicy.set_ok(self, cookie, request):
609 may be 'downgraded' by :mod:`http.cookiejar` from version 1 to version 0 (Netscape)
621 :mod:`http.cookiejar` may 'downgrade' RFC 2109 cookies to Netscape cookies, in which
679 :mod:`http.cookiejar` may 'downgrade' RFC 2109 cookies to Netscape cookies, in
731 The first example shows the most common usage of :mod:`http.cookiejar`::
733 import http.cookiejar, urllib.request
734 cj = http.cookiejar.CookieJar()
741 import os, http.cookiejar, urllib.request
742 cj = http.cookiejar.MozillaCookieJar()
753 from http.cookiejar import CookieJar, DefaultCookiePolicy