mitmproxy/examples/stream.py

5 lines
124 B
Python

def responseheaders(context, flow):
"""
Enables streaming for all responses.
"""
flow.response.stream = True