{"action":"opened","issue":{"url":"https://api.github.com/repos/gorilla/websocket/issues/101","labels_url":"https://api.github.com/repos/gorilla/websocket/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/gorilla/websocket/issues/101/comments","events_url":"https://api.github.com/repos/gorilla/websocket/issues/101/events","html_url":"https://github.com/gorilla/websocket/issues/101","id":122739613,"number":101,"title":"Wrong case for Sec-WebSocket-Version","user":{"login":"pjvds","id":150387,"avatar_url":"https://avatars.githubusercontent.com/u/150387?v=3","gravatar_id":"","url":"https://api.github.com/users/pjvds","html_url":"https://github.com/pjvds","followers_url":"https://api.github.com/users/pjvds/followers","following_url":"https://api.github.com/users/pjvds/following{/other_user}","gists_url":"https://api.github.com/users/pjvds/gists{/gist_id}","starred_url":"https://api.github.com/users/pjvds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjvds/subscriptions","organizations_url":"https://api.github.com/users/pjvds/orgs","repos_url":"https://api.github.com/users/pjvds/repos","events_url":"https://api.github.com/users/pjvds/events{/privacy}","received_events_url":"https://api.github.com/users/pjvds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T13:57:58Z","updated_at":"2015-12-17T13:57:58Z","closed_at":null,"body":"According to [RFC 6455](https://tools.ietf.org/html/rfc6455#section-11.3.5) the correct header for specifying the web socket version is `Sec-WebSocket-Version`, instead of `Sec-Websocket-Version` as it is [checked by the upgrader](https://github.com/gorilla/websocket/blob/567453a710c89724d4e971da34f613b0b89961cc/server.go#L99).\r\n\r\nThis means connection upgrading fails for requests that specify the correct header."}}