heroku-python / flask-sockets

[DEPRECATED] Alternative: https://github.com/miguelgrinberg/flask-sock
MIT License
1.74k stars 164 forks source link

Earlier check for websocket environment. #21

Closed jhorneman closed 9 years ago

jhorneman commented 10 years ago

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.

philipn commented 9 years ago

@jhorneman or @kennethreitz: could you close this PR as a duplicate?

jhorneman commented 9 years ago

[x] done.