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

Method return_ok_secure

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

Source from the content-addressed store, hash-verified

1134 return True
1135
1136 def return_ok_secure(self, cookie, request):
1137 if cookie.secure and request.type not in self.secure_protocols:
1138 _debug(" secure cookie with non-secure request")
1139 return False
1140 return True
1141
1142 def return_ok_expires(self, cookie, request):
1143 if cookie.is_expired(self._now):

Callers

nothing calls this directly

Calls 1

_debugFunction · 0.85

Tested by

no test coverage detected