mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 11:19:23 +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)
|