aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/protocols/test_http2.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pathod/protocols/test_http2.py')
-rw-r--r--test/pathod/protocols/test_http2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/protocols/test_http2.py b/test/pathod/protocols/test_http2.py
index 1c074197..c16a6d40 100644
--- a/test/pathod/protocols/test_http2.py
+++ b/test/pathod/protocols/test_http2.py
@@ -202,7 +202,7 @@ class TestApplySettings(net_tservers.ServerTestBase):
def handle(self):
# check settings acknowledgement
assert self.rfile.read(9) == codecs.decode('000000040100000000', 'hex_codec')
- self.wfile.write("OK")
+ self.wfile.write(b"OK")
self.wfile.flush()
self.rfile.safe_read(9) # just to keep the connection alive a bit longer