mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 18:57:22 +00:00
6 lines
138 B
Python
Executable file
6 lines
138 B
Python
Executable file
#!/usr/bin/env python
|
|
from libmproxy import script
|
|
|
|
f = script.load_flow()
|
|
f.request.headers["newheader"] = ["foo"]
|
|
script.return_flow(f)
|