MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / _save_flow

Method _save_flow

mitmproxy/addons/savehar.py:116–120  ·  view source on GitHub ↗
(self, flow: http.HTTPFlow)

Source from the content-addressed store, hash-verified

114 self._save_flow(flow)
115
116 def _save_flow(self, flow: http.HTTPFlow) -> None:
117 if ctx.options.hardump:
118 flow_matches = self.filt is None or self.filt(flow)
119 if flow_matches:
120 self.flows.append(flow)
121
122 def done(self):
123 if ctx.options.hardump:

Callers 2

responseMethod · 0.95
websocket_endMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected