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