MCPcopy
hub / github.com/mitmproxy/mitmproxy / request

Method request

mitmproxy/addons/save.py:176–178  ·  view source on GitHub ↗
(self, flow: http.HTTPFlow)

Source from the content-addressed store, hash-verified

174 self.save_flow(flow)
175
176 def request(self, flow: http.HTTPFlow):
177 if self.stream:
178 self.active_flows.add(flow)
179
180 def response(self, flow: http.HTTPFlow):
181 # websocket flows will receive a websocket_end,

Callers 7

test_websocketFunction · 0.95
test_simpleFunction · 0.95
test_rotate_streamFunction · 0.95
test_disk_fullFunction · 0.95
requestFunction · 0.45
getFunction · 0.45

Calls 1

addMethod · 0.45

Tested by 4

test_websocketFunction · 0.76
test_simpleFunction · 0.76
test_rotate_streamFunction · 0.76
test_disk_fullFunction · 0.76