mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
16 lines
430 B
HTML
16 lines
430 B
HTML
|
|
Both __mitmproxy__ and __mitmdump__ allow you to modify requests and responses
|
|
with external scripts. This is often done through the __--reqscript__ and
|
|
__--respscript__ options
|
|
|
|
|
|
The script interface is simple - scripts simply read,
|
|
modify and return a single __libmproxy.flow.Flow__ object, using the methods
|
|
defined in the __libmproxy.script__ module. Scripts must be executable.
|
|
|
|
$!example("../examples/simple_script")!$
|
|
|
|
|
|
|
|
|