diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-04 10:33:57 +1100 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-04 10:33:57 +1100 |
commit | 2bd868662937b504cccd825e9e24e3cb6a142708 (patch) | |
tree | 0d111125733f9211f170f345f506738bf4ba6804 /mitmproxy/controller.py | |
parent | 2e48b60ff1f3271ad689ad8bc97f11b4b81ef241 (diff) | |
download | mitmproxy-2bd868662937b504cccd825e9e24e3cb6a142708.tar.gz mitmproxy-2bd868662937b504cccd825e9e24e3cb6a142708.tar.bz2 mitmproxy-2bd868662937b504cccd825e9e24e3cb6a142708.zip |
http2: support the requestheaders event
We do this by splitting read_request into read_request_headers and
read_request_body.
Diffstat (limited to 'mitmproxy/controller.py')
-rw-r--r-- | mitmproxy/controller.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mitmproxy/controller.py b/mitmproxy/controller.py index 7996eb46..51a9b146 100644 --- a/mitmproxy/controller.py +++ b/mitmproxy/controller.py @@ -90,10 +90,11 @@ class Master(object): mitmproxy_ctx.master = None mitmproxy_ctx.log = None - def add_log(self, e, level="info"): + def add_log(self, e, level): """ level: debug, info, warn, error """ + pass def add_server(self, server): # We give a Channel to the server which can be used to communicate with the master |