mitmproxy/examples/add_header.py

3 lines
67 B
Python
Raw Normal View History

2016-07-08 01:37:33 +00:00
def response(flow):
2015-09-05 18:45:58 +00:00
flow.response.headers["newheader"] = "foo"