mitmproxy/examples/add_header.py

3 lines
78 B
Python
Raw Normal View History

2011-08-05 01:26:39 +00:00
def response(context, flow):
flow.response.headers["newheader"] = ["foo"]