diff options
author | Matt Weidner <matt.weidner@gmail.com> | 2017-07-19 22:17:16 -0500 |
---|---|---|
committer | Matt Weidner <matt.weidner@gmail.com> | 2017-07-27 21:11:37 -0500 |
commit | f26ea82b3c1b6eb994967ed62a152354a56cb8b6 (patch) | |
tree | c72c55c7d1048056ad03270d0b0ce28557dcfca1 /mitmproxy/options.py | |
parent | 35d16a4bcaddd7c249dc44b94be60e34ed476415 (diff) | |
download | mitmproxy-f26ea82b3c1b6eb994967ed62a152354a56cb8b6.tar.gz mitmproxy-f26ea82b3c1b6eb994967ed62a152354a56cb8b6.tar.bz2 mitmproxy-f26ea82b3c1b6eb994967ed62a152354a56cb8b6.zip |
Add intercetp toggle feature.
Diffstat (limited to 'mitmproxy/options.py')
-rw-r--r-- | mitmproxy/options.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mitmproxy/options.py b/mitmproxy/options.py index 954db7e8..8102efe7 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -377,6 +377,11 @@ class Options(optmanager.OptManager): ) self.add_option( + "intercept_active", bool, False, + "Intercept toggle" + ) + + self.add_option( "intercept", Optional[str], None, "Intercept filter expression." ) |