diff options
author | Aldo Cortesi <aldo@corte.si> | 2015-08-01 11:38:12 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2015-08-01 11:38:12 +1200 |
commit | 7432ad6af7a69291bb5b1f63d1b279833a4231dd (patch) | |
tree | e21889f43750cb979424dcd928510c7bd94efacb /libpathod/protocols/http2.py | |
parent | d301f55bb7df5d4f8156153a36fd600c04b77115 (diff) | |
parent | 31dbd2fc7595d709e41523f3586dfdc02feb07dd (diff) | |
download | mitmproxy-7432ad6af7a69291bb5b1f63d1b279833a4231dd.tar.gz mitmproxy-7432ad6af7a69291bb5b1f63d1b279833a4231dd.tar.bz2 mitmproxy-7432ad6af7a69291bb5b1f63d1b279833a4231dd.zip |
Merge pull request #32 from Kriechi/http2-wip
[WIP] Protocol Refactoring for HTTP/2
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) |