aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools/web/master.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-04-26 11:12:14 +0200
committerMaximilian Hils <git@maximilianhils.com>2017-04-26 12:11:37 +0200
commitca2827886a97de88f4ab2937e71588fc9320ba4d (patch)
treec02e759f64d5468920ae51a8f7212d3452ef1aaf /mitmproxy/tools/web/master.py
parentb3a11433389b47c913cfcd3c56a72d39ff6b93ef (diff)
downloadmitmproxy-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.py2
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,
)