extend/cowboy — Issue #74: WebSocket improvements: upgrade header should be case insensitive
Author: majek
Created: 2011-10-18 15:02:48+00:00
State: open

For hybi10 the `Upgrade` header should be checked case-insensitive.

```
GET /echo/000/0915ea93-b956-4dfe-bb0a-16f073df0cfc/websocket HTTP/1.1
Host: localhost:8080
Accept-Encoding: identity
Sec-WebSocket-Version: 8
Connection: Upgrade
Upgrade: WebSocket
Sec-WebSocket-Origin: http://pmx
Sec-WebSocket-Key: x3JJHMbDL1EzLkh9GBhXDw==
```

Result: 400 Bad Request.
Expected result: should work
How to trigger expected result: change `WebSocket` to `websocket`