aboutsummaryrefslogtreecommitdiffstats
path: root/examples/classes.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-11-12 18:28:37 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-11-12 18:28:37 +1300
commita9b4560187df02c0d69e89a4892587a65bb03ea7 (patch)
treeb58824c3fdf7aa90539c391b5478845ce6b8c99a /examples/classes.py
parent38f8d9e541f8d60cf3d829f6ac2c204ef493680f (diff)
downloadmitmproxy-a9b4560187df02c0d69e89a4892587a65bb03ea7.tar.gz
mitmproxy-a9b4560187df02c0d69e89a4892587a65bb03ea7.tar.bz2
mitmproxy-a9b4560187df02c0d69e89a4892587a65bb03ea7.zip
Refine handling of HTTP CONNECT
- CONNECT requests do not generate the usual http events. Instead, they generate the http_connect event and handlers then have the option of setting an error response to abort the connect. - The connect handler is called for both upstream proxy and regular proxy CONNECTs.
Diffstat (limited to 'examples/classes.py')
0 files changed, 0 insertions, 0 deletions