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

3 lines
67 B
Python

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