MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / test_headers

Method test_headers

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

Source from the content-addressed store, hash-verified

962 assert "content-length" not in resp.headers
963
964 def test_headers(self):
965 _test_passthrough_attr(tresp(), "headers")
966
967 def test_trailers(self):
968 _test_passthrough_attr(tresp(), "trailers")

Callers

nothing calls this directly

Calls 2

trespFunction · 0.90
_test_passthrough_attrFunction · 0.85

Tested by

no test coverage detected