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.rst370 .. method:: CookiePolicy.return_ok(cookie, request)
386 work to :meth:`return_ok`.
390 :meth:`path_return_ok` and :meth:`return_ok` are never called for that cookie
391 domain. If :meth:`path_return_ok` returns true, :meth:`return_ok` is called
393 :meth:`return_ok` is never called for that cookie path.
400 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.py852 def return_ok(self, cookie, request): member in CookiePolicy
1088 def return_ok(self, cookie, request): member in DefaultCookiePolicy
1280 if not self._policy.return_ok(cookie, request):
/external/python/cpython3/Lib/test/
Dtest_http_cookiejar.py1051 self.assertFalse(pol.return_ok(cookies[0], req))