Take the 2-minute tour ×  I am using Safari 6 and websockets. My
server is receiving the following handshake from the browser:
GET / HTTP/1.1 Upgrade: websocket Connection: Upgrade Host:
nomad.local:1299 Origin: file:// Sec-WebSocket-Key:
WhZTuybN4i2ZshDBxco42w== Sec-WebSocket-Version: 13  There is no
Protocol included. My server can deal with that, but when it
tries to complete the handshake with the browser client I get
the following message: Error during WebSocket handshake: Sec-
WebSocket-Protocol mismatch  Is there an implied Protocol in the
message sent to server that I need to return in the handshake to
the client?  This worked before I upgraded to latest Safari
share|improve this question Can you add the response your server
sends to your question please? I presume the problem is as
suggested by kanaka but it'd be good to be sure –  simonc Aug 22
'12 at 8:41 add comment  2 Answers  Well the protocol is
WebSockets ;-) See the RFC for further explanations on Sec-
WebSocket-Protocol: http://datatracker.i