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

Method return_ok_verifiability

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

Source from the content-addressed store, hash-verified

1122 return True
1123
1124 def return_ok_verifiability(self, cookie, request):
1125 if request.unverifiable and is_third_party(request):
1126 if cookie.version > 0 and self.strict_rfc2965_unverifiable:
1127 _debug(" third-party RFC 2965 cookie during unverifiable "
1128 "transaction")
1129 return False
1130 elif cookie.version == 0 and self.strict_ns_unverifiable:
1131 _debug(" third-party Netscape cookie during unverifiable "
1132 "transaction")
1133 return False
1134 return True
1135
1136 def return_ok_secure(self, cookie, request):
1137 if cookie.secure and request.type not in self.secure_protocols:

Callers

nothing calls this directly

Calls 2

is_third_partyFunction · 0.85
_debugFunction · 0.85

Tested by

no test coverage detected