Searched refs:allowed_domains (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/ |
D | cookielib.py | 865 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/ |
D | cookiejar.py | 871 blocked_domains=None, allowed_domains=None, argument 899 if allowed_domains is not None: 900 allowed_domains = tuple(allowed_domains) 901 self._allowed_domains = allowed_domains 916 def allowed_domains(self): member in DefaultCookiePolicy 919 def set_allowed_domains(self, allowed_domains): argument 921 if allowed_domains is not None: 922 allowed_domains = tuple(allowed_domains) 923 self._allowed_domains = allowed_domains
|
/external/python/cpython2/Doc/library/ |
D | cookielib.rst | 88 .. 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/cpython3/Doc/library/ |
D | http.cookiejar.rst | 81 .. class:: DefaultCookiePolicy( blocked_domains=None, allowed_domains=None, netscape=True, rfc2965=… 85 from, nor return cookies to. *allowed_domains* if not :const:`None`, this is a 461 for *allowed_domains*). If you set a whitelist, you can turn it off again by 491 .. method:: DefaultCookiePolicy.allowed_domains() 496 .. method:: DefaultCookiePolicy.set_allowed_domains(allowed_domains)
|
/external/python/cpython3/Lib/test/ |
D | test_http_cookiejar.py | 921 allowed_domains=["www.acme.com"]))
|
/external/python/cpython2/Lib/test/ |
D | test_cookielib.py | 870 allowed_domains=["www.acme.com"]))
|