abourget/gevent-socketio — pull request #117 by kirpit (2012-12-17 16:05:16+00:00)
Title: allow namespaces to be subdirectories

Unfortunately, gevent-socketio doesn't support that socket.io clients to have their namespaces as a sub-directory. Such as;

var socket = io.connect('/search', {
'resource': 'api/v0.1/socket.io'
});

will not be treated as a resource on the server-side and you will most likely get a ``KeyError: 'socketio'``.

I've made a small tweak within the ``SocketIOHandler`` class, RE_REQUEST_URL and RE_HANDSHAKE_URL regex patterns that it should be fine now.