MCPcopy
hub / github.com/mitmproxy/mitmproxy / match

Method match

mitmproxy/addons/dumper.py:280–287  ·  view source on GitHub ↗
(self, f)

Source from the content-addressed store, hash-verified

278 self.outfp.flush()
279
280 def match(self, f):
281 if ctx.options.flow_detail == 0:
282 return False
283 if not self.filter:
284 return True
285 elif flowfilter.match(self.filter, f):
286 return True
287 return False
288
289 def response(self, f):
290 if self.match(f):

Callers 15

test_configureFunction · 0.95
responseMethod · 0.95
errorMethod · 0.95
http_connect_errorMethod · 0.95
websocket_messageMethod · 0.95
websocket_endMethod · 0.95
_proto_errorMethod · 0.95
_proto_messageMethod · 0.95
dns_responseMethod · 0.95
dns_errorMethod · 0.95
msix_installerFunction · 0.45
release.pyFile · 0.45

Calls

no outgoing calls

Tested by 7

test_configureFunction · 0.76
test_matchMethod · 0.36
test_matchMethod · 0.36
test_matchFunction · 0.36
test_matchMethod · 0.36
test_matchMethod · 0.36
test_orderFunction · 0.36