mitmproxy/examples/add_header.py

2 lines
77 B
Python
Raw Normal View History

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