aboutsummaryrefslogtreecommitdiffstats
path: root/examples/stream.py
blob: 8598f329c1111b0e46f28d655cd779699befae6e (plain)
1
2
3
4
5
def responseheaders(flow):
    """
    Enables streaming for all responses.
    """
    flow.response.stream = True