kennethreitz/flask-sockets — pull request #21 by jhorneman (2014-06-12 16:34:47+00:00)
Title: Earlier check for websocket environment.

This change stops the websocket handler from trying to handle routes that it shouldn't, e.g. if the user points their browser at a websocket endpoint.