abourget/gevent-socketio — pull request #34 by pkienzle (2012-06-11 23:11:16+00:00)
Title: allow bare heartbeat message

When testing a python socket.io client for your chat.py example, I discovered that you don't handle bare heartbeat messages, and that your message encoder doesn't handle the endpoint=None in the resulting error handler.

The python socket.io client I'm using is here:

https://github.com/scattering/socketIO-client

The document claiming that bare heartbeat messages are part of the protocol is here:

https://github.com/LearnBoost/socket.io-spec

Strictly speaking, the document doesn't say the heartbeat can be a bare message code, but it also doesn't say that it needs the colon separated fields.