We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7ae538 commit 796a86fCopy full SHA for 796a86f
1 file changed
ws4py/server/geventserver.py
@@ -49,7 +49,7 @@ def run_application(self):
49
if self.environ.get('REQUEST_METHOD') != 'GET':
50
raise HandshakeError('HTTP method must be a GET')
51
52
- for key, expected_value in [('HTTP_UPGRADE', 'webscket'),
+ for key, expected_value in [('HTTP_UPGRADE', 'websocket'),
53
('HTTP_CONNECTION', 'upgrade')]:
54
actual_value = self.environ.get(key, '').lower()
55
if not actual_value:
0 commit comments