Searched refs:allowed_domains (Results 1 – 3 of 3) sorted by relevance
865 blocked_domains=None, allowed_domains=None, argument893 if allowed_domains is not None:894 allowed_domains = tuple(allowed_domains)895 self._allowed_domains = allowed_domains910 def allowed_domains(self): member in DefaultCookiePolicy913 def set_allowed_domains(self, allowed_domains): argument915 if allowed_domains is not None:916 allowed_domains = tuple(allowed_domains)917 self._allowed_domains = allowed_domains
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 a464 for *allowed_domains*). If you set a whitelist, you can turn it off again by494 .. method:: DefaultCookiePolicy.allowed_domains()499 .. method:: DefaultCookiePolicy.set_allowed_domains(allowed_domains)
870 allowed_domains=["www.acme.com"]))