diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-07-29 11:26:10 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-07-30 19:42:48 +0200 |
commit | 31dbd2fc7595d709e41523f3586dfdc02feb07dd (patch) | |
tree | e21889f43750cb979424dcd928510c7bd94efacb /libpathod/protocols/http2.py | |
parent | d301f55bb7df5d4f8156153a36fd600c04b77115 (diff) | |
download | mitmproxy-31dbd2fc7595d709e41523f3586dfdc02feb07dd.tar.gz mitmproxy-31dbd2fc7595d709e41523f3586dfdc02feb07dd.tar.bz2 mitmproxy-31dbd2fc7595d709e41523f3586dfdc02feb07dd.zip |
use netlib http semantics
Diffstat (limited to 'libpathod/protocols/http2.py')
-rw-r--r-- | libpathod/protocols/http2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/protocols/http2.py b/libpathod/protocols/http2.py index 82ec5482..f57f56f8 100644 --- a/libpathod/protocols/http2.py +++ b/libpathod/protocols/http2.py @@ -16,5 +16,5 @@ class HTTP2Protocol: self.wire_protocol.perform_server_connection_preface() return self.wire_protocol.read_request() - def create_response(self, code, stream_id, headers, body): - return self.wire_protocol.create_response(code, stream_id, headers, body) + def assemble(self, message): + return self.wire_protocol.assemble(message) |