MostAwesomeDude/txWS — Issue #4: Chrome Sec-WebSocket-Version:13
Author: eigenRedding
Created: 2011-12-15 22:27:47+00:00
State: open

Chrome now uses Sec-WebSocket-Version:13 (Chrome 16.0.912.59 beta)

According to the protocol spec wiki for pywebsocket (http://code.google.com/p/pywebsocket/wiki/WebSocketProtocolSpec) it looks like there are only semantic and editorial changes since the last supported version in txWS to HyBi-17.

The following addition to txws.py appears to be a workaround:

492a495,499
> elif version == "13":
> log.msg("Starting HyBi-13 conversation")
> self.sendHyBi07Preamble()
> self.flavor = HYBI07
> self.state = FRAMES