aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2013-01-14 09:58:15 -0800
committerAldo Cortesi <aldo@corte.si>2013-01-14 09:58:15 -0800
commit280dd94198931bcd819848a70d68f6f5d9f3270b (patch)
tree08f0179972285a622001376c5d96773a6a3dd521
parentfa3dff268b2ddcabc2c79e3bcd0939ee90d4826e (diff)
parentfb7526fc4f133e9c8c0957ed4d6ab35972110e6d (diff)
downloadmitmproxy-280dd94198931bcd819848a70d68f6f5d9f3270b.tar.gz
mitmproxy-280dd94198931bcd819848a70d68f6f5d9f3270b.tar.bz2
mitmproxy-280dd94198931bcd819848a70d68f6f5d9f3270b.zip
Merge pull request #91 from termie/patch-1
fix some syntax / formatting in the docs
-rw-r--r--doc-src/scripting/inlinescripts.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc-src/scripting/inlinescripts.html b/doc-src/scripting/inlinescripts.html
index 860ad9b6..7abf743c 100644
--- a/doc-src/scripting/inlinescripts.html
+++ b/doc-src/scripting/inlinescripts.html
@@ -1,4 +1,3 @@
-
__mitmproxy__ has a powerful scripting API that allows you to modify flows
on-the-fly or rewrite previously saved flows locally.
@@ -22,13 +21,13 @@ response itself.
Called once on startup, before any other events.
-###clientconnect(ScriptContext, ClientConnect)
+### clientconnect(ScriptContext, ClientConnect)
Called when a client initiates a connection to the proxy. Note that
a connection can correspond to multiple HTTP requests.
-###request(ScriptContext, Flow)
+### request(ScriptContext, Flow)
Called when a client request has been received. The __Flow__ object is
guaranteed to have a non-None __request__ attribute.