extend/cowboy — Issue #75: WebSocket improvements: don't set content-length for hybi10
Author: majek
Created: 2011-10-18 15:03:11+00:00
State: open

Cowboy should not set `content-length` for websockets.

```
GET /echo/000/f2257c26-4889-409a-92ed-ef470750b93a/websocket HTTP/1.1
Host: localhost:8080
Accept-Encoding: identity
Sec-WebSocket-Version: 7
Connection: Upgrade
Upgrade: websocket
Sec-WebSocket-Origin: http://pmx
Sec-WebSocket-Key: x3JJHMbDL1EzLkh9GBhXDw==

HTTP/1.1 101 Switching Protocols
Connection: Upgrade
Content-Length: 0
Date: Tue, 18 Oct 2011 14:39:20 GMT
Sec-Websocket-Accept: HSmrc0sMlYUkAGmm5OPpG2HaGWk=
Server: Cowboy
Upgrade: websocket
```

Result: Content-length header present
Expected result: no content-length header