First pass of script hooks for mitmdump.

Also stub out docs, improve mitmdump error handling.
This commit is contained in:
Aldo Cortesi
2011-02-18 12:40:45 +13:00
parent 7769e5a898
commit cd4eea3934
13 changed files with 127 additions and 54 deletions

11
doc-src/scripts.html Normal file
View 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")!$