establish a WebSocket connection:
[[
15. If the client has any cookies that would be relevant to a resource accessed over HTTP, if secure is false, or HTTPS, if it is true, on host host, port port, with resource name as the path (and possibly query parameters), then add to fields any HTTP headers that would be appropriate for that information. [HTTP] [COOKIES]
]]

Adding an HTTP header seems to allow HTTP syntax that is incompatible with WebSocket fields syntax. For instance, whitespace before the colon, horizontal tab instead of space after the colon, continuation lines, comments, escapes...

Also, does it say to add a single entry to fields with all headers or one entry per header?

--
Simon Pieters
Opera Software

Reply via email to