mitmproxy/examples/add_header.py
2016-02-18 09:27:08 +13:00

3 lines
76 B
Python

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