mitmproxy/examples/add_header.py
2014-09-05 15:16:20 +02:00

2 lines
73 B
Python

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