aboutsummaryrefslogtreecommitdiffstats
path: root/examples/fail_with_500.py
blob: 9710f74a08c048a485ed8b89d71e3274a37e1628 (plain)
1
2
3
def response(flow):
    flow.response.status_code = 500
    flow.response.content = b""