diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-04-26 11:12:14 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2017-04-26 12:11:37 +0200 |
commit | ca2827886a97de88f4ab2937e71588fc9320ba4d (patch) | |
tree | c02e759f64d5468920ae51a8f7212d3452ef1aaf /mitmproxy/tools/web/master.py | |
parent | b3a11433389b47c913cfcd3c56a72d39ff6b93ef (diff) | |
download | mitmproxy-ca2827886a97de88f4ab2937e71588fc9320ba4d.tar.gz mitmproxy-ca2827886a97de88f4ab2937e71588fc9320ba4d.tar.bz2 mitmproxy-ca2827886a97de88f4ab2937e71588fc9320ba4d.zip |
separate reading from stdin into its own addon
Diffstat (limited to 'mitmproxy/tools/web/master.py')
-rw-r--r-- | mitmproxy/tools/web/master.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py index 0db5a09f..c09fe0a2 100644 --- a/mitmproxy/tools/web/master.py +++ b/mitmproxy/tools/web/master.py @@ -7,6 +7,7 @@ from mitmproxy import log from mitmproxy import master from mitmproxy.addons import eventstore from mitmproxy.addons import intercept +from mitmproxy.addons import readfile from mitmproxy.addons import termlog from mitmproxy.addons import view from mitmproxy.addons import termstatus @@ -32,6 +33,7 @@ class WebMaster(master.Master): self.addons.add(*addons.default_addons()) self.addons.add( intercept.Intercept(), + readfile.ReadFile(), self.view, self.events, ) |