From 588dad1bc7f28eeec2851d785387608d40e7382e Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 26 Jun 2016 14:42:12 -0700 Subject: [PATCH] minor docs fix --- docs/scripting/inlinescripts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripting/inlinescripts.rst b/docs/scripting/inlinescripts.rst index 2065923dc..1ee44972a 100644 --- a/docs/scripting/inlinescripts.rst +++ b/docs/scripting/inlinescripts.rst @@ -17,7 +17,7 @@ client: The first argument to each event method is an instance of :py:class:`~mitmproxy.script.ScriptContext` that lets the script interact with the global mitmproxy -state. The **response** event also gets an instance of :py:class:`~mitmproxy.script.ScriptContext`, +state. The **response** event also gets an instance of :py:class:`~mitmproxy.models.HTTPFlow`, which we can use to manipulate the response itself. We can now run this script using mitmdump or mitmproxy as follows: