aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/protocols/http2.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-07-18 15:54:29 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-07-22 15:30:34 +0200
commit6d5a3da9294d5bc6758ded173729042573c9fe5f (patch)
treed2c7993787d4fb7d703bd90f2403ad69b548b186 /libpathod/protocols/http2.py
parentcaaac5cd5a48d2bd1e50f0ff88c9d73a20ec9aa6 (diff)
downloadmitmproxy-6d5a3da9294d5bc6758ded173729042573c9fe5f.tar.gz
mitmproxy-6d5a3da9294d5bc6758ded173729042573c9fe5f.tar.bz2
mitmproxy-6d5a3da9294d5bc6758ded173729042573c9fe5f.zip
use new HTTP/1 protocol
Diffstat (limited to 'libpathod/protocols/http2.py')
-rw-r--r--libpathod/protocols/http2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/protocols/http2.py b/libpathod/protocols/http2.py
index d2c269ed..82ec5482 100644
--- a/libpathod/protocols/http2.py
+++ b/libpathod/protocols/http2.py
@@ -12,7 +12,7 @@ class HTTP2Protocol:
def make_error_response(self, reason, body):
return language.http2.make_error_response(reason, body)
- def read_request(self):
+ def read_request(self, lg=None):
self.wire_protocol.perform_server_connection_preface()
return self.wire_protocol.read_request()