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