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