Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ set_policy
Method
set_policy
Lib/http/cookiejar.py:1270–1271 ·
view source on GitHub ↗
(self, policy)
Source
from the content-addressed store, hash-verified
1268
self._cookies = {}
1269
1270
def
set_policy(self, policy):
1271
self._policy = policy
1272
1273
def
_cookies_for_domain(self, domain, request):
1274
cookies = []
Callers
2
test_two_component_domain_ns
Method · 0.95
test_secure
Method · 0.95
Calls
no outgoing calls
Tested by
2
test_two_component_domain_ns
Method · 0.76
test_secure
Method · 0.76