Closed ErwinJunge closed 8 years ago
wouldn't it make sense to add this to one of the testing clients?
Good point, I've added a test.
@ErwinJunge Since I never had the need for the HTTP_SEC_WEBSOCKET_PROTOCOL
, what is your comment about #151. Shall I merge it?
This branch adds support for the Sec-WebSocket-Protocol header. Without this change, the websocket will fail to connect if the Sec-WebSocket-Protocol header is uses by the client.