aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/options.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2018-02-24 19:09:32 +1300
committerAldo Cortesi <aldo@nullcube.com>2018-02-24 19:09:32 +1300
commit59db25bd0ff2faaab7ba982cf51d472e108612f6 (patch)
tree8ff918b3d27fb1e6ef30caa1baafaf8e814a956f /mitmproxy/options.py
parentf49aae312fb0df3c4dd484c6790c8a558fe540e8 (diff)
downloadmitmproxy-59db25bd0ff2faaab7ba982cf51d472e108612f6.tar.gz
mitmproxy-59db25bd0ff2faaab7ba982cf51d472e108612f6.tar.bz2
mitmproxy-59db25bd0ff2faaab7ba982cf51d472e108612f6.zip
Split default_contentview into dumper_* and console_* varieties
Then move the new options into their respective addons. This was a shared option, and things are much much simpler if it isn't.
Diffstat (limited to 'mitmproxy/options.py')
-rw-r--r--mitmproxy/options.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/mitmproxy/options.py b/mitmproxy/options.py
index 05332b3f..39fbff8f 100644
--- a/mitmproxy/options.py
+++ b/mitmproxy/options.py
@@ -1,7 +1,6 @@
from typing import Optional, Sequence
from mitmproxy import optmanager
-from mitmproxy import contentviews
from mitmproxy.net import tls
log_verbosity = [
@@ -57,7 +56,6 @@ class Options(optmanager.OptManager):
# FIXME: Options that must be migrated to addons, but are complicated
# because they're used by more than one addon, or because they're
# embedded in the core code somehow.
- default_contentview = None # type: str
proxyauth = None # type: Optional[str]
showhost = None # type: bool
verbosity = None # type: str
@@ -78,11 +76,6 @@ class Options(optmanager.OptManager):
"Log verbosity.",
choices=log_verbosity
)
- self.add_option(
- "default_contentview", str, "auto",
- "The default content view mode.",
- choices = [i.name.lower() for i in contentviews.views]
- )
# Proxy options
self.add_option(