Skip to content

Commit

Permalink
Merge pull request mitmproxy#2860 from emedvedev/patch-1
Browse files Browse the repository at this point in the history
Fix a typo in events.rst
  • Loading branch information
Kriechi authored Feb 11, 2018
2 parents aa41ff7 + 5eb2d8a commit b680139
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/scripting/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b680139

Please sign in to comment.