Home
last modified time | relevance | path

Searched refs:allowed_domains (Results 1 – 6 of 6) 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/cpython3/Lib/http/
Dcookiejar.py878 blocked_domains=None, allowed_domains=None, argument
908 if allowed_domains is not None:
909 allowed_domains = tuple(allowed_domains)
910 self._allowed_domains = allowed_domains
925 def allowed_domains(self): member in DefaultCookiePolicy
928 def set_allowed_domains(self, allowed_domains): argument
930 if allowed_domains is not None:
931 allowed_domains = tuple(allowed_domains)
932 self._allowed_domains = allowed_domains
/external/python/cpython3/Doc/library/
Dhttp.cookiejar.rst85 .. class:: DefaultCookiePolicy( blocked_domains=None, allowed_domains=None, netscape=True, rfc2965=…
89 from, nor return cookies to. *allowed_domains* if not :const:`None`, this is a
470 for *allowed_domains*). If you set a whitelist, you can turn it off again by
500 .. method:: DefaultCookiePolicy.allowed_domains()
505 .. method:: DefaultCookiePolicy.set_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"]))
/external/python/cpython3/Lib/test/
Dtest_http_cookiejar.py968 allowed_domains=["www.acme.com"]))