mitmproxy/examples/addons/anatomy2.py

6 lines
123 B
Python
Raw Normal View History

2021-02-09 00:05:02 +00:00
"""An addon using the abbreviated scripting syntax."""
def request(flow):
flow.request.headers["myheader"] = "value"