MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_get_cookies_empty

Method test_get_cookies_empty

test/mitmproxy/test_http.py:546–549  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

544 assert not resp.cookies
545
546 def test_get_cookies_empty(self):
547 resp = tresp()
548 resp.headers = Headers(set_cookie="")
549 assert not resp.cookies
550
551 def test_get_cookies_simple(self):
552 resp = tresp()

Callers

nothing calls this directly

Calls 2

trespFunction · 0.90
HeadersClass · 0.90

Tested by

no test coverage detected