aboutsummaryrefslogtreecommitdiffstats
path: root/docs/scripting
diff options
context:
space:
mode:
authorEdward Medvedev <edward.medvedev@gmail.com>2018-02-11 14:20:53 +0100
committerGitHub <noreply@github.com>2018-02-11 14:20:53 +0100
commit5eb2d8a8130ce8eeb47c8e529f30683d89794da0 (patch)
tree69c9f400c644a4b374b45c13891b9f907accc134 /docs/scripting
parentaa41ff78c2847f66905e4c0cf0d85a941a0debfe (diff)
downloadmitmproxy-5eb2d8a8130ce8eeb47c8e529f30683d89794da0.tar.gz
mitmproxy-5eb2d8a8130ce8eeb47c8e529f30683d89794da0.tar.bz2
mitmproxy-5eb2d8a8130ce8eeb47c8e529f30683d89794da0.zip
Fix a typo in events.rst
This PR fixes a tiny typo in the documentation.
Diffstat (limited to 'docs/scripting')
-rw-r--r--docs/scripting/events.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/scripting/events.rst b/docs/scripting/events.rst
index 4d74b220..d8b1fbb8 100644
--- a/docs/scripting/events.rst
+++ b/docs/scripting/events.rst
@@ -100,10 +100,10 @@ HTTP Events
* - .. py:function:: http_connect(flow)
- Called when we receive an HTTP CONNECT request. Setting a non 2xx
- response on the flow will return the response to the client abort the
- connection. CONNECT requests and responses do not generate the usual
- HTTP handler events. CONNECT requests are only valid in regular and
- upstream proxy modes.
+ response on the flow will return the response to the client and abort
+ the connection. CONNECT requests and responses do not generate the
+ usual HTTP handler events. CONNECT requests are only valid in regular
+ and upstream proxy modes.
*flow*
A ``models.HTTPFlow`` object. The flow is guaranteed to have