nytlabs/streamtools — pull request #54 by nikhan (2013-10-09 14:24:02+00:00)
Title: FIXING WEBSOCKET TO WORK WITH CHROME

it's really fun getting lost in labyrinthian RFC specs until you finally end up on the first page of RFC 2616 (HTTP 1.1) as a "reference"

This websocket handshake config (no config) works with Chrome. Even though the RFC for websockets says that the server can respond with one protocol specified by the client or a protocol not specified by the client (what...? whatever, this works).