diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-07-15 15:21:04 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-07-15 15:24:56 +1200 |
commit | 76b4c6ba82f9a1d6411710c82c67cf264d3bb1d3 (patch) | |
tree | a17515f8f829136cfd0da5187b2139dede4c43c5 /libmproxy/dump.py | |
parent | 1a963b91bb61db8fa2bf5df82768a39e97a6cc90 (diff) | |
download | mitmproxy-76b4c6ba82f9a1d6411710c82c67cf264d3bb1d3.tar.gz mitmproxy-76b4c6ba82f9a1d6411710c82c67cf264d3bb1d3.tar.bz2 mitmproxy-76b4c6ba82f9a1d6411710c82c67cf264d3bb1d3.zip |
Introduce an anti-compression command-line argument.
This is on by default, which means we avoid compressed content unless the -z
flag is specified.
Diffstat (limited to 'libmproxy/dump.py')
-rw-r--r-- | libmproxy/dump.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmproxy/dump.py b/libmproxy/dump.py index b4621716..c68b747e 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -7,6 +7,7 @@ class DumpError(Exception): pass class Options(object): __slots__ = [ "anticache", + "anticomp", "client_replay", "keepserving", "kill", @@ -54,6 +55,7 @@ class DumpMaster(flow.FlowMaster): self.outfile = outfile self.o = options self.anticache = options.anticache + self.anticomp = options.anticomp self.refresh_server_playback = options.refresh_server_playback if filtstr: |