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

Method test_simple

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

Source from the content-addressed store, hash-verified

450
451class TestResponse:
452 def test_simple(self):
453 f = tflow(resp=True)
454 resp = f.response
455 resp2 = resp.copy()
456 assert resp2.get_state() == resp.get_state()
457
458 def test_get_content_type(self):
459 resp = tresp()

Callers

nothing calls this directly

Calls 3

tflowFunction · 0.90
copyMethod · 0.45
get_stateMethod · 0.45

Tested by

no test coverage detected