MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / configure

Method configure

examples/contrib/httpdump.py:43–45  ·  view source on GitHub ↗
(self, updated)

Source from the content-addressed store, hash-verified

41 ctx.master.commands.call("browser.start")
42
43 def configure(self, updated):
44 if "dumper_filter" in updated:
45 self.filter = ctx.options.dumper_filter
46
47 def response(self, flow: http.HTTPFlow) -> None:
48 if flowfilter.match(self.filter, flow):

Callers 3

test_simpleMethod · 0.45
test_contentencodeMethod · 0.45
test_httpMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_simpleMethod · 0.36
test_contentencodeMethod · 0.36
test_httpMethod · 0.36