igrigorik/em-websocket — Issue #71: Using UnittWebSocket-Client (iOs) with em-websocket 
Author: OlivierGG
Created: 2012-01-10 09:29:50+00:00
State: open

I'm not sure if this point is related to em-websocket or to UnittWebSocket-Client. So I explain
I'm using UnittWebSocket-Client (IOs) with em-websocket.
- the em-websocket server running on host 192.168.0.15 on port 8000

if I connect from UnittWebSocket-Client with url : "http://192.168.0.15:8000", em-websocket return
[[:error, #]]
in this case the header is
"GET HTTP/1.1\r\nUpgrade: WebSocket\r\nConnection: Upgrade\r\nSec-WebSocket-Key: MzQ3ODc5MTM2LjU1NjA0NA==\r\nHost: 192.168.0.15:8000\r\nSec-WebSocket-Origin: http://192.168.0.15:8000\r\nSec-WebSocket-Version: 7\r\n\r\n"]]

if I connect from UnittWebSocket-Client with url : "http://192.168.0.15:8000/", em-websocket the connection is Ok.
in this case the header is :
[[:receive_data,
"GET / HTTP/1.1\r\nUpgrade: WebSocket\r\nConnection: Upgrade\r\nSec-WebSocket-Key: MzQ3ODc5ODQxLjkxMDY2NQ==\r\nHost: 192.168.0.15:8000\r\nSec-WebSocket-Origin: http://192.168.0.15:8000/\r\nSec-WebSocket-Version: 7\r\n\r\n"]]

So i'm not sure what is wrong. the / after the Get is mandatory or not ?