From 872b7881f2793bec8b2596e2a65bc4891387a1d5 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 19 Mar 2011 11:26:51 +1300 Subject: Docs. --- doc-src/scripts.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc-src/scripts.html') diff --git a/doc-src/scripts.html b/doc-src/scripts.html index b7085c79..0b0b5f80 100644 --- a/doc-src/scripts.html +++ b/doc-src/scripts.html @@ -1,6 +1,10 @@ Both __mitmproxy__ and __mitmdump__ allow you to modify requests and responses -with external scripts. The script interface is simple - scripts simply read, +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. -- cgit v1.2.3