Home
last modified time | relevance | path

Searched refs:return_ok (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Doc/library/
Dhttp.cookiejar.rst361 .. method:: CookiePolicy.return_ok(cookie, request)
377 work to :meth:`return_ok`.
381 :meth:`path_return_ok` and :meth:`return_ok` are never called for that cookie
382 domain. If :meth:`path_return_ok` returns true, :meth:`return_ok` is called
384 :meth:`return_ok` is never called for that cookie path.
391 The *request* argument is as documented for :meth:`return_ok`.
/external/python/cpython2/Doc/library/
Dcookielib.rst364 .. method:: CookiePolicy.return_ok(cookie, request)
380 work to :meth:`return_ok`.
384 :meth:`path_return_ok` and :meth:`return_ok` are never called for that cookie
385 domain. If :meth:`path_return_ok` returns true, :meth:`return_ok` is called
387 :meth:`return_ok` is never called for that cookie path.
394 The *request* argument is as documented for :meth:`return_ok`.
/external/python/cpython2/Lib/
Dcookielib.py839 def return_ok(self, cookie, request): member in CookiePolicy
1073 def return_ok(self, cookie, request): member in DefaultCookiePolicy
1255 if not self._policy.return_ok(cookie, request):
/external/python/cpython3/Lib/http/
Dcookiejar.py845 def return_ok(self, cookie, request): member in CookiePolicy
1079 def return_ok(self, cookie, request): member in DefaultCookiePolicy
1271 if not self._policy.return_ok(cookie, request):
/external/python/cpython3/Lib/test/
Dtest_http_cookiejar.py1004 self.assertFalse(pol.return_ok(cookies[0], req))