Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 4a40139

Browse files
committed
Ensure we create secure connections for H2
1 parent c629998 commit 4a40139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def _start_server(self, socket_handler):
103103

104104
def get_connection(self):
105105
if self.h2:
106-
return HTTP20Connection(self.host, self.port)
106+
return HTTP20Connection(self.host, self.port, secure=True)
107107
else:
108108
return HTTP11Connection(self.host, self.port, secure=True)
109109

0 commit comments

Comments
 (0)