mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
cd4eea3934
Also stub out docs, improve mitmdump error handling.
7 lines
138 B
Python
Executable File
7 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)
|