Skip to content

Commit

Permalink
Fix #103
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawouach committed Sep 9, 2013
1 parent 9c8d9e5 commit efca4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ws4py/server/wsgiutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def __call__(self, environ, start_response):
upgrade_headers = [
('Upgrade', 'websocket'),
('Connection', 'Upgrade'),
('Sec-WebSocket-Version', version),
('Sec-WebSocket-Version', '%s' % version),
('Sec-WebSocket-Accept', base64.b64encode(sha1(key.encode('utf-8') + WS_KEY).digest())),
]
if ws_protocols:
Expand Down

0 comments on commit efca4e8

Please sign in to comment.