mitmproxy/examples/add_header.py
2014-09-08 17:03:34 +02:00

2 lines
77 B
Python

def response(context, flow):
flow.response.headers["newheader"] = ["foo"]