[erlang-bugs] erlang:decode_packet - wrong parsing of Sec-WebSock-Accept header

Arif <>
Tue Jan 29 22:52:28 CET 2013

On 01/29/2013 03:06 PM, Sverker Eriksson wrote:

Header names are case insensitive according to HTTP. To ease matching we 
always return unrecognized strings on a format with capital letters only 
first and after hyphen, like "Sec-Websocket-Accept".
> /Sverker, Erlang/OTP Ericsson

Thank you for the explanation of the convention. As I was only 
interested in one of the headers, having to lower or uppercase all of 
them just to get to the right one seemed too much of a waste.


More information about the erlang-bugs mailing list