mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
7 lines
138 B
Plaintext
7 lines
138 B
Plaintext
|
#!/usr/bin/env python
|
||
|
from libmproxy import script
|
||
|
|
||
|
f = script.load_flow()
|
||
|
f.request.headers["newheader"] = ["foo"]
|
||
|
script.return_flow(f)
|