imanel/websocket-rack — pull request #6 by steel (2011-12-13 00:33:53+00:00)
Title: em-websocket compatible request path inclues query params

When connecting with Safari on both OSX and iOS to an endpoint with URL params, the handshake fails because the location param passed back in the upgrade header doesn't include the full path with params. Safari checks that the URL requested and the location returned are identical, otherwise it throws an 'Error during WebSocket handshake: location mismatch' error.