mitmproxy/examples/add_header.py
2015-09-05 20:45:58 +02:00

3 lines
76 B
Python

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