aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/scripting/inlinescripts.html
diff options
context:
space:
mode:
authorAndy Smith <github@anarkystic.com>2013-01-11 15:05:40 -0600
committerAndy Smith <github@anarkystic.com>2013-01-11 15:05:40 -0600
commitfb7526fc4f133e9c8c0957ed4d6ab35972110e6d (patch)
treec55a26d2819654f813ecd9e442ab3e3c87df622f /doc-src/scripting/inlinescripts.html
parent060e3198bca48f327984b2d1d73a5d4592866736 (diff)
downloadmitmproxy-fb7526fc4f133e9c8c0957ed4d6ab35972110e6d.tar.gz
mitmproxy-fb7526fc4f133e9c8c0957ed4d6ab35972110e6d.tar.bz2
mitmproxy-fb7526fc4f133e9c8c0957ed4d6ab35972110e6d.zip
fix some syntax / formatting in the docs
Diffstat (limited to 'doc-src/scripting/inlinescripts.html')
-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.