Tests: added ASGI WebSocket.

This commit is contained in:
Max Romanov
2020-10-01 23:55:35 +03:00
parent c4c2f90c5b
commit d97e3a3296
4 changed files with 1476 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ class TestApplicationWebsocket(TestApplicationProto):
'Upgrade': 'websocket',
'Connection': 'Upgrade',
'Sec-WebSocket-Key': key,
'Sec-WebSocket-Protocol': 'chat',
'Sec-WebSocket-Protocol': 'chat, phone, video',
'Sec-WebSocket-Version': 13,
}