{"issue":{"created_at":"2011-11-27T00:18:59Z","state":"open","updated_at":"2011-11-27T00:18:59Z","user":{"gravatar_id":"d797538504a367f277d19bd8369e9a19","id":284023,"url":"https://api.github.com/users/ysangkok","login":"ysangkok","avatar_url":"https://secure.gravatar.com/avatar/d797538504a367f277d19bd8369e9a19?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"According to the standard draft 10 that the README says this server conforms to, the Upgrade header should be handled case-insensitively. Currently it is handled case-sensitively.\r\n\r\nmiddleware.py:\r\n\r\n    def __call__(self, environ, start_response):\r\n        # Initial handshake validation\r\n        try:\r\n            if 'websocket' not in environ.get('upgrade.protocol', ''):\r\n                raise HandshakeError(\"Upgrade protocol is not websocket\")\r\n","assignee":null,"id":2357728,"number":13,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Server not handling \"Upgrade\" header case-insensitively, as it should","closed_at":null,"html_url":"https://github.com/Lawouach/WebSocket-for-Python/issues/13","milestone":null,"url":"https://api.github.com/repos/Lawouach/WebSocket-for-Python/issues/13"},"action":"opened"}