Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
451
class
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
tflow
Function · 0.90
copy
Method · 0.45
get_state
Method · 0.45
Tested by
no test coverage detected