MCPcopy
hub / github.com/mitmproxy/mitmproxy / copy

Method copy

mitmproxy/flow.py:195–199  ·  view source on GitHub ↗

Make a copy of this flow.

(self)

Source from the content-addressed store, hash-verified

193 return f
194
195 def copy(self):
196 """Make a copy of this flow."""
197 f = super().copy()
198 f.live = False
199 return f
200
201 def modified(self):
202 """

Callers 15

test_eqMethod · 0.45
test_stateMethod · 0.45
test_stateMethod · 0.45
test_copyMethod · 0.45
subFunction · 0.45
test_simpleMethod · 0.45
test_get_host_headerMethod · 0.45
test_simpleMethod · 0.45
test_copyMethod · 0.45
test_getset_stateMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_eqMethod · 0.36
test_stateMethod · 0.36
test_stateMethod · 0.36
test_copyMethod · 0.36
subFunction · 0.36
test_simpleMethod · 0.36
test_get_host_headerMethod · 0.36
test_simpleMethod · 0.36
test_copyMethod · 0.36
test_getset_stateMethod · 0.36