aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/http2/connections.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/http/http2/connections.py')
-rw-r--r--netlib/http/http2/connections.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/http/http2/connections.py b/netlib/http/http2/connections.py
index 5e877286..52fa7193 100644
--- a/netlib/http/http2/connections.py
+++ b/netlib/http/http2/connections.py
@@ -129,7 +129,7 @@ class HTTP2Protocol(object):
host.encode('ascii'),
port,
path.encode('ascii'),
- b'2.0',
+ b"HTTP/2.0",
headers,
body,
timestamp_start,
@@ -171,7 +171,7 @@ class HTTP2Protocol(object):
timestamp_end = None
response = Response(
- b'2.0',
+ b"HTTP/2.0",
int(headers.get(':status', 502)),
b'',
headers,