mitmproxy/examples/add_header.py

3 lines
78 B
Python
Raw Normal View History

2014-09-08 14:02:31 +00:00
def response(context, flow):
2015-05-30 00:03:28 +00:00
flow.response.headers["newheader"] = ["foo"]