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

Method cookiejar_from_cookie_headers

Lib/test/test_http_cookiejar.py:1405–1410  ·  view source on GitHub ↗
(headers)

Source from the content-addressed store, hash-verified

1403 def test_bad_cookie_header(self):
1404
1405 def cookiejar_from_cookie_headers(headers):
1406 c = CookieJar()
1407 req = urllib.request.Request("http://www.example.com/")
1408 r = FakeResponse(headers, "http://www.example.com/")
1409 c.extract_cookies(r, req)
1410 return c
1411
1412 future = time2netscape(time.time()+3600)
1413

Callers

nothing calls this directly

Calls 3

extract_cookiesMethod · 0.95
CookieJarClass · 0.90
FakeResponseClass · 0.85

Tested by

no test coverage detected