diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-01-27 12:52:18 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-04 09:52:28 +0100 |
commit | 6d3b3994e27b3cd97c74612bc64c7e0457aeb448 (patch) | |
tree | 2dcdd32b653f6a100e47861dc296e60efeeca90e /libmproxy/protocol/http.py | |
parent | 64978968f2383988511dc7021ecd9892f098f723 (diff) | |
download | mitmproxy-6d3b3994e27b3cd97c74612bc64c7e0457aeb448.tar.gz mitmproxy-6d3b3994e27b3cd97c74612bc64c7e0457aeb448.tar.bz2 mitmproxy-6d3b3994e27b3cd97c74612bc64c7e0457aeb448.zip |
code formatting
Diffstat (limited to 'libmproxy/protocol/http.py')
-rw-r--r-- | libmproxy/protocol/http.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py index ee9d2d46..6a669ae1 100644 --- a/libmproxy/protocol/http.py +++ b/libmproxy/protocol/http.py @@ -23,7 +23,9 @@ from ..models import ( from .base import Layer, Kill + class _HttpTransmissionLayer(Layer): + def read_request(self): raise NotImplementedError() @@ -233,7 +235,7 @@ class HttpLayer(Layer): try: response = make_error_response(code, message) self.send_response(response) - except NetlibException, H2Error: + except NetlibException as H2Error: pass def change_upstream_proxy_server(self, address): |