Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Case-sensitive HTTP get_header causes client to reject server handshakes for some implementations of websockets #275
I know RFC 6455 officially requires the server to respond to the client handshake with the headers "Upgrade", "Connection", and "Sec-WebSocket-Accept" but some server implementations I've come across use all lowercase for header keys. The most popular ws client implementations I've tested are not as strict.
added a commit
Jul 13, 2013
WebSocket++ now uses case insensitive comparisons for header operations. It does this in a way that preserves the case of any headers you set to help work around HTTP and WebSocket implementations that require specific cases. All headers generated by the library itself use the standard HTTP Title Case.