aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/stream.py
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-07-18 09:14:28 +0800
committerMatthew Shao <me@matshao.com>2017-07-18 09:14:28 +0800
commit70bb123101fa59f3f60bdca254cdbdd3e89de568 (patch)
tree615cbced0443a60f9fa62b9544a40edd1b64ce2d /examples/complex/stream.py
parent4a02822b346c3aed361c77bb714903a59ac6935e (diff)
parent183079f7312dc812d7b70a01e490ef3827b2890c (diff)
downloadmitmproxy-70bb123101fa59f3f60bdca254cdbdd3e89de568.tar.gz
mitmproxy-70bb123101fa59f3f60bdca254cdbdd3e89de568.tar.bz2
mitmproxy-70bb123101fa59f3f60bdca254cdbdd3e89de568.zip
Merge branch 'mitmweb-options' of https://github.com/MatthewShao/mitmproxy into mitmweb-options
Diffstat (limited to 'examples/complex/stream.py')
-rw-r--r--examples/complex/stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex/stream.py b/examples/complex/stream.py
index 1993cf7f..ae365ec5 100644
--- a/examples/complex/stream.py
+++ b/examples/complex/stream.py
@@ -1,6 +1,6 @@
def responseheaders(flow):
"""
Enables streaming for all responses.
- This is equivalent to passing `--stream 0` to mitmproxy.
+ This is equivalent to passing `--set stream_large_bodies=1` to mitmproxy.
"""
flow.response.stream = True