MCPcopy Index your code
hub / github.com/python/cpython / set_ok

Method set_ok

Lib/http/cookiejar.py:851–858  ·  view source on GitHub ↗

Return true if (and only if) cookie should be accepted from server. Currently, pre-expired cookies never get this far -- the CookieJar class deletes such cookies itself.

(self, cookie, request)

Source from the content-addressed store, hash-verified

849
850 """
851 def set_ok(self, cookie, request):
852 """Return true if (and only if) cookie should be accepted from server.
853
854 Currently, pre-expired cookies never get this far -- the CookieJar
855 class deletes such cookies itself.
856
857 """
858 raise NotImplementedError()
859
860 def return_ok(self, cookie, request):
861 """Return true if (and only if) cookie should be returned to server."""

Callers 2

set_cookie_if_okMethod · 0.45
extract_cookiesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected