diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2018-02-24 15:49:38 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2018-02-24 15:49:38 +1300 |
commit | 2aa7ac584b7884b8fd7622aec86b47d1e33a4a11 (patch) | |
tree | 380a5f8a603ed1571f7ca554b93931775d47b0a4 /mitmproxy/options.py | |
parent | 704c1db1b7aa25c4ee6371bec811e92409b92398 (diff) | |
download | mitmproxy-2aa7ac584b7884b8fd7622aec86b47d1e33a4a11.tar.gz mitmproxy-2aa7ac584b7884b8fd7622aec86b47d1e33a4a11.tar.bz2 mitmproxy-2aa7ac584b7884b8fd7622aec86b47d1e33a4a11.zip |
addon options: stickycookie, streambodies
Diffstat (limited to 'mitmproxy/options.py')
-rw-r--r-- | mitmproxy/options.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/mitmproxy/options.py b/mitmproxy/options.py index bf2012d7..ed17489a 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -67,10 +67,6 @@ class Options(optmanager.OptManager): view_filter = None # type: Optional[str] # FIXME: Options that should be uncomplicated to migrate to addons - stickyauth = None # type: Optional[str] - stickycookie = None # type: Optional[str] - stream_large_bodies = None # type: Optional[str] - stream_websockets = None # type: bool upstream_auth = None # type: Optional[str] view_order = None # type: str view_order_reversed = None # type: bool @@ -90,25 +86,6 @@ class Options(optmanager.OptManager): "Use the Host header to construct URLs for display." ) self.add_option( - "stickycookie", Optional[str], None, - "Set sticky cookie filter. Matched against requests." - ) - self.add_option( - "stream_large_bodies", Optional[str], None, - """ - Stream data to the client if response body exceeds the given - threshold. If streamed, the body will not be stored in any way. - Understands k/m/g suffixes, i.e. 3m for 3 megabytes. - """ - ) - self.add_option( - "stream_websockets", bool, False, - """ - Stream WebSocket messages between client and server. - Messages are captured and cannot be modified. - """ - ) - self.add_option( "verbosity", str, 'info', "Log verbosity.", choices=log_verbosity |