mitmproxy/examples/addons/scripting-headers.py

4 lines
67 B
Python

def request(flow):
flow.request.headers["myheader"] = "value"