Skip to content

Commit 8b88455

Browse files
authored
Merge pull request #1124 from jwilk-forks/client-update-fragment
Fix syntax error in client_upgrade_fragment.py
2 parents deefc68 + 6b1f5a9 commit 8b88455

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/fragments/client_upgrade_fragment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def send_initial_request(connection, settings):
3838
b"GET / HTTP/1.1\r\n" +
3939
b"Host: localhost\r\n" +
4040
b"Upgrade: h2c\r\n" +
41-
b"HTTP2-Settings: " + settings + "\r\n"
41+
b"HTTP2-Settings: " + settings + b"\r\n" +
4242
b"\r\n"
4343
)
4444
connection.sendall(request)

0 commit comments

Comments
 (0)