Home
last modified time | relevance | path

Searched refs:DefaultCookiePolicy (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_cookielib.py363 pol = cookielib.DefaultCookiePolicy()
424 from cookielib import CookieJar, DefaultCookiePolicy
436 policy = DefaultCookiePolicy(
558 from cookielib import CookieJar, DefaultCookiePolicy
561 pol = DefaultCookiePolicy(rfc2965=True)
755 from cookielib import CookieJar, DefaultCookiePolicy
757 cp = DefaultCookiePolicy(strict_domain=True)
772 from cookielib import CookieJar, DefaultCookiePolicy
785 pol = DefaultCookiePolicy(
786 strict_ns_domain=DefaultCookiePolicy.DomainStrictNonDomain)
[all …]
/external/python/cpython3/Lib/test/
Dtest_http_cookiejar.py13 CookieJar, DefaultCookiePolicy, LWPCookieJar, MozillaCookieJar,
448 pol = DefaultCookiePolicy()
520 policy = DefaultCookiePolicy(
656 pol = DefaultCookiePolicy(rfc2965=True)
746 pol = DefaultCookiePolicy()
747 strict_ns_path_pol = DefaultCookiePolicy(strict_ns_set_path=True)
862 cp = DefaultCookiePolicy(strict_domain=True)
888 pol = DefaultCookiePolicy(
889 strict_ns_domain=DefaultCookiePolicy.DomainStrictNonDomain)
922 pol = DefaultCookiePolicy(rfc2965=True)
[all …]
/external/python/cpython2/Doc/library/
Dcookielib.rst88DefaultCookiePolicy( blocked_domains=None, allowed_domains=None, netscape=True, rfc2965=False, rfc…
95 :class:`DefaultCookiePolicy` objects.
97 :class:`DefaultCookiePolicy` implements the standard accept / reject rules for
104 :class:`DefaultCookiePolicy` also provides some parameters to allow some
425 from :class:`DefaultCookiePolicy` and overriding some or all of the methods
432 DefaultCookiePolicy Objects
445 class MyCookiePolicy(cookielib.DefaultCookiePolicy):
447 if not cookielib.DefaultCookiePolicy.set_ok(self, cookie, request):
476 :class:`DefaultCookiePolicy` implements the following additional methods:
479 .. method:: DefaultCookiePolicy.blocked_domains()
[all …]
/external/python/cpython3/Doc/library/
Dhttp.cookiejar.rst85DefaultCookiePolicy( blocked_domains=None, allowed_domains=None, netscape=True, rfc2965=False, rfc…
94 :class:`CookiePolicy` and :class:`DefaultCookiePolicy` objects.
96 :class:`DefaultCookiePolicy` implements the standard accept / reject rules for
103 :class:`DefaultCookiePolicy` also provides some parameters to allow some
431 from :class:`DefaultCookiePolicy` and overriding some or all of the methods
438 DefaultCookiePolicy Objects
451 class MyCookiePolicy(http.cookiejar.DefaultCookiePolicy):
453 if not http.cookiejar.DefaultCookiePolicy.set_ok(self, cookie, request):
482 :class:`DefaultCookiePolicy` implements the following additional methods:
485 .. method:: DefaultCookiePolicy.blocked_domains()
[all …]
/external/python/cpython2/Lib/
Dcookielib.py854 class DefaultCookiePolicy(CookiePolicy): class
1235 policy = DefaultCookiePolicy()
/external/python/cpython3/Lib/http/
Dcookiejar.py867 class DefaultCookiePolicy(CookiePolicy): class
1260 policy = DefaultCookiePolicy()
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a3.rst20 :class:`http.cookiejar.DefaultCookiePolicy` policy. Patch by Karthikeyan
D3.8.0a1.rst2842 Added *secure_protocols* argument to *http.cookiejar.DefaultCookiePolicy* to