2020-06-22 23:53:39 +00:00
|
|
|
"""
|
|
|
|
Select which responses should be streamed.
|
|
|
|
|
|
|
|
Enable response streaming for all HTTP flows.
|
|
|
|
This is equivalent to passing `--set stream_large_bodies=1` to mitmproxy.
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
2016-07-08 01:37:33 +00:00
|
|
|
def responseheaders(flow):
|
2014-07-21 19:06:55 +00:00
|
|
|
"""
|
|
|
|
Enables streaming for all responses.
|
2017-07-04 08:49:49 +00:00
|
|
|
This is equivalent to passing `--set stream_large_bodies=1` to mitmproxy.
|
2014-07-21 19:06:55 +00:00
|
|
|
"""
|
2015-05-30 00:03:28 +00:00
|
|
|
flow.response.stream = True
|