aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/protocols/http2.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/protocols/http2.py')
-rw-r--r--libpathod/protocols/http2.py4
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)