Home
last modified time | relevance | path

Searched refs:allowed_domains (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/
Dcookielib.py865 blocked_domains=None, allowed_domains=None, argument
893 if allowed_domains is not None:
894 allowed_domains = tuple(allowed_domains)
895 self._allowed_domains = allowed_domains
910 def allowed_domains(self): member in DefaultCookiePolicy
913 def set_allowed_domains(self, allowed_domains): argument
915 if allowed_domains is not None:
916 allowed_domains = tuple(allowed_domains)
917 self._allowed_domains = allowed_domains
/external/python/cpython2/Doc/library/
Dcookielib.rst88 .. class:: DefaultCookiePolicy( blocked_domains=None, allowed_domains=None, netscape=True, rfc2965=…
92 from, nor return cookies to. *allowed_domains* if not :const:`None`, this is a
464 for *allowed_domains*). If you set a whitelist, you can turn it off again by
494 .. method:: DefaultCookiePolicy.allowed_domains()
499 .. method:: DefaultCookiePolicy.set_allowed_domains(allowed_domains)
/external/python/cpython2/Lib/test/
Dtest_cookielib.py870 allowed_domains=["www.acme.com"]))