mitmproxy/examples/fail_with_500.py
2016-07-07 20:14:52 -07:00

4 lines
88 B
Python

def response(flow):
flow.response.status_code = 500
flow.response.content = b""