Merge pull request #91 from termie/patch-1

fix some syntax / formatting in the docs
This commit is contained in:
Aldo Cortesi 2013-01-14 09:58:15 -08:00
commit 280dd94198

View File

@ -1,4 +1,3 @@
__mitmproxy__ has a powerful scripting API that allows you to modify flows __mitmproxy__ has a powerful scripting API that allows you to modify flows
on-the-fly or rewrite previously saved flows locally. on-the-fly or rewrite previously saved flows locally.
@ -22,13 +21,13 @@ response itself.
Called once on startup, before any other events. 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 Called when a client initiates a connection to the proxy. Note that
a connection can correspond to multiple HTTP requests. 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 Called when a client request has been received. The __Flow__ object is
guaranteed to have a non-None __request__ attribute. guaranteed to have a non-None __request__ attribute.