mitmproxy/examples/addons/scripting-headers.py
Anderson Mesquita 4fdc3d9e15 Rename scripting file
In order to add the more scripting examples, it makes sense to rename
this file and avoid confusion.
2018-06-08 08:04:53 +02:00

4 lines
67 B
Python

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