mitmproxy/examples/stream.py

6 lines
125 B
Python
Raw Normal View History

2014-09-08 14:02:31 +00:00
def responseheaders(context, flow):
2014-07-21 19:06:55 +00:00
"""
Enables streaming for all responses.
"""
2015-05-30 00:03:28 +00:00
flow.response.stream = True