[html5] r4826 - [e] (0) The intro handshake section forgot Cookie.
whatwg at whatwg.org
whatwg at whatwg.org
Thu Mar 4 17:36:27 PST 2010
Author: ianh
Date: 2010-03-04 17:36:26 -0800 (Thu, 04 Mar 2010)
New Revision: 4826
Modified:
complete.html
source
Log:
[e] (0) The intro handshake section forgot Cookie.
Modified: complete.html
===================================================================
--- complete.html 2010-03-05 01:32:51 UTC (rev 4825)
+++ complete.html 2010-03-05 01:36:26 UTC (rev 4826)
@@ -67499,8 +67499,12 @@
the order is not meaningful.</p>
<p>Additional fields are used to select options in the WebSocket
- protocol. The only option available in this version is the
- subprotocol selector, <code title=http-sec-websocket-protocol><a href=#sec-websocket-protocol>Sec-WebSocket-Protocol</a></code>:</p>
+ protocol. The only options available in this version are the
+ subprotocol selector, <code title=http-sec-websocket-protocol><a href=#sec-websocket-protocol>Sec-WebSocket-Protocol</a></code>,
+ and <code title=http-cookie>Cookie</code>, which can used for
+ sending cookies to the server (e.g. as an authentication
+ mechanism). The <code title=http-sec-websocket-protocol><a href=#sec-websocket-protocol>Sec-WebSocket-Protocol</a></code>
+ field takes an arbitrary string:</p>
<pre>Sec-WebSocket-Protocol: chat</pre>
@@ -67509,7 +67513,7 @@
intends to use. The server echoes this field in its handshake to
indicate that it supports that subprotocol.</p>
- <p>The other fields in the handshake is all security-related. The
+ <p>The other fields in the handshake are all security-related. The
<code title=http-host>Host</code> field is used to protect against
DNS rebinding attacks and to allow multiple domains to be served
from one IP address.</p>
Modified: source
===================================================================
--- source 2010-03-05 01:32:51 UTC (rev 4825)
+++ source 2010-03-05 01:36:26 UTC (rev 4826)
@@ -75875,9 +75875,14 @@
the order is not meaningful.</p>
<p>Additional fields are used to select options in the WebSocket
- protocol. The only option available in this version is the
+ protocol. The only options available in this version are the
subprotocol selector, <code
- title="http-sec-websocket-protocol">Sec-WebSocket-Protocol</code>:</p>
+ title="http-sec-websocket-protocol">Sec-WebSocket-Protocol</code>,
+ and <code title="http-cookie">Cookie</code>, which can used for
+ sending cookies to the server (e.g. as an authentication
+ mechanism). The <code
+ title="http-sec-websocket-protocol">Sec-WebSocket-Protocol</code>
+ field takes an arbitrary string:</p>
<pre>Sec-WebSocket-Protocol: chat</pre>
@@ -75886,7 +75891,7 @@
intends to use. The server echoes this field in its handshake to
indicate that it supports that subprotocol.</p>
- <p>The other fields in the handshake is all security-related. The
+ <p>The other fields in the handshake are all security-related. The
<code title="http-host">Host</code> field is used to protect against
DNS rebinding attacks and to allow multiple domains to be served
from one IP address.</p>
More information about the Commit-Watchers
mailing list