mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-22 19:47:56 +08:00
First pass of script hooks for mitmdump.
Also stub out docs, improve mitmdump error handling.
This commit is contained in:
11
doc-src/scripts.html
Normal file
11
doc-src/scripts.html
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
Both __mitmproxy__ and __mitmdump__ allow you to modify requests and responses
|
||||
with external scripts. 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")!$
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user