mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 16:17:49 +00:00
7 lines
194 B
Python
7 lines
194 B
Python
def responseheaders(flow):
|
|
"""
|
|
Enables streaming for all responses.
|
|
This is equivalent to passing `--set stream_large_bodies=1` to mitmproxy.
|
|
"""
|
|
flow.response.stream = True
|