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

Method return_ok_version

Lib/http/cookiejar.py:1115–1122  ·  view source on GitHub ↗
(self, cookie, request)

Source from the content-addressed store, hash-verified

1113 return True
1114
1115 def return_ok_version(self, cookie, request):
1116 if cookie.version > 0 and not self.rfc2965:
1117 _debug(" RFC 2965 cookies are switched off")
1118 return False
1119 elif cookie.version == 0 and not self.netscape:
1120 _debug(" Netscape cookies are switched off")
1121 return False
1122 return True
1123
1124 def return_ok_verifiability(self, cookie, request):
1125 if request.unverifiable and is_third_party(request):

Callers

nothing calls this directly

Calls 1

_debugFunction · 0.85

Tested by

no test coverage detected