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