aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/dump.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-09-10 12:39:21 +1200
committerGitHub <noreply@github.com>2016-09-10 12:39:21 +1200
commit387e91f9a6deaad72231a91a0735638f52f06fca (patch)
tree81d69f6f427f2921244cc06cee89797f1ff13f1a /mitmproxy/dump.py
parent01cdaf4133753297b2554819266752e3d501caff (diff)
parent9b814ca067a81eed3c46bdffb7d3131b6ec26708 (diff)
downloadmitmproxy-387e91f9a6deaad72231a91a0735638f52f06fca.tar.gz
mitmproxy-387e91f9a6deaad72231a91a0735638f52f06fca.tar.bz2
mitmproxy-387e91f9a6deaad72231a91a0735638f52f06fca.zip
Merge pull request #1548 from cortesi/opts
Make various replay-related options clearer
Diffstat (limited to 'mitmproxy/dump.py')
-rw-r--r--mitmproxy/dump.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py
index 49215b3a..febe5b64 100644
--- a/mitmproxy/dump.py
+++ b/mitmproxy/dump.py
@@ -46,11 +46,11 @@ class DumpMaster(flow.FlowMaster):
self.addons.add(options, dumper.Dumper())
# This line is just for type hinting
self.options = self.options # type: Options
- self.replay_ignore_params = options.replay_ignore_params
- self.replay_ignore_content = options.replay_ignore_content
- self.replay_ignore_host = options.replay_ignore_host
+ self.server_replay_ignore_params = options.server_replay_ignore_params
+ self.server_replay_ignore_content = options.server_replay_ignore_content
+ self.server_replay_ignore_host = options.server_replay_ignore_host
self.refresh_server_playback = options.refresh_server_playback
- self.replay_ignore_payload_params = options.replay_ignore_payload_params
+ self.server_replay_ignore_payload_params = options.server_replay_ignore_payload_params
self.set_stream_large_bodies(options.stream_large_bodies)