Lines Matching refs:_policy
1236 self._policy = policy
1242 self._policy = policy
1246 if not self._policy.domain_return_ok(domain, request):
1251 if not self._policy.path_return_ok(path, request):
1255 if not self._policy.return_ok(cookie, request):
1338 self._policy._now = self._now = int(time.time())
1349 if (self._policy.rfc2965 and not self._policy.hide_cookie2 and
1560 rfc2109_as_ns = getattr(self._policy, 'rfc2109_as_netscape', None)
1562 rfc2109_as_ns = not self._policy.rfc2965
1578 rfc2965 = self._policy.rfc2965
1579 netscape = self._policy.netscape
1629 self._policy._now = self._now = int(time.time())
1631 if self._policy.set_ok(cookie, request):
1656 self._policy._now = self._now = int(time.time())
1659 if self._policy.set_ok(cookie, request):