diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2018-02-24 15:22:28 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2018-02-24 15:22:28 +1300 |
commit | 144b559b468ac2c67e0d79fae8754ae3385f1958 (patch) | |
tree | 1e79e1aa35ee3b231fa43967a0c4c89a879ba267 /mitmproxy/options.py | |
parent | 52c8d7e0f8d86a096946f001f81cd938f3e54b88 (diff) | |
download | mitmproxy-144b559b468ac2c67e0d79fae8754ae3385f1958.tar.gz mitmproxy-144b559b468ac2c67e0d79fae8754ae3385f1958.tar.bz2 mitmproxy-144b559b468ac2c67e0d79fae8754ae3385f1958.zip |
addon options: migrate replace, simplify taddons.context
Diffstat (limited to 'mitmproxy/options.py')
-rw-r--r-- | mitmproxy/options.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mitmproxy/options.py b/mitmproxy/options.py index 02ae9c0f..6db2b907 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -67,7 +67,6 @@ class Options(optmanager.OptManager): view_filter = None # type: Optional[str] # FIXME: Options that should be uncomplicated to migrate to addons - replacements = None # type: Sequence[str] rfile = None # type: Optional[str] save_stream_file = None # type: Optional[str] save_stream_filter = None # type: Optional[str] @@ -106,13 +105,6 @@ class Options(optmanager.OptManager): "Use the Host header to construct URLs for display." ) self.add_option( - "replacements", Sequence[str], [], - """ - Replacement patterns of the form "/pattern/regex/replacement", where - the separator can be any character. - """ - ) - self.add_option( "setheaders", Sequence[str], [], """ Header set pattern of the form "/pattern/header/value", where the |