[whatwg] WebSocket opening handshake

Simon Pieters simonp at opera.com
Thu Apr 22 01:21:45 PDT 2010


establishing a WebSocket connection:

[[
41. ... or if there are any entries in the fields list whose names are the  
empty string, then fail the WebSocket connection and abort these steps. ...
]]

I think it is better to check for this while parsing the fields, by  
checking if the name byte array is empty here:

[[
34. Read a byte from the server.

...
If the byte is 0x3A (ASCII :)
Move on to the next step.
]]

-- 
Simon Pieters
Opera Software



More information about the whatwg mailing list