W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] WebSockets cookies

From: Simon Pieters <simonp@opera.com>
Date: Tue, 04 May 2010 11:44:15 +0200
Message-ID: <op.vb6db1qtidj3kv@simon-pieterss-macbook.local>
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
Received on Tuesday, 4 May 2010 02:44:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:23 UTC