aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_flow.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2011-07-15 15:21:04 +1200
committerAldo Cortesi <aldo@nullcube.com>2011-07-15 15:24:56 +1200
commit76b4c6ba82f9a1d6411710c82c67cf264d3bb1d3 (patch)
treea17515f8f829136cfd0da5187b2139dede4c43c5 /test/test_flow.py
parent1a963b91bb61db8fa2bf5df82768a39e97a6cc90 (diff)
downloadmitmproxy-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 'test/test_flow.py')
-rw-r--r--test/test_flow.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_flow.py b/test/test_flow.py
index 6ee4235e..365b6c58 100644
--- a/test/test_flow.py
+++ b/test/test_flow.py
@@ -422,6 +422,7 @@ class uFlowMaster(libpry.AutoTree):
s = flow.State()
fm = flow.FlowMaster(None, s)
fm.anticache = True
+ fm.anticomp = True
req = tutils.treq()
fm.handle_clientconnect(req.client_conn)