mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-02 08:15:22 +00:00
Merge pull request #2860 from emedvedev/patch-1
Fix a typo in events.rst
This commit is contained in:
commit
b68013927d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user