[html5] r1845 - [e] (0) Be clearer about what should be echoed as part of the handshake.
whatwg at whatwg.org
whatwg at whatwg.org
Thu Jul 3 02:13:24 PDT 2008
Author: ianh
Date: 2008-07-03 02:13:23 -0700 (Thu, 03 Jul 2008)
New Revision: 1845
Modified:
index
source
Log:
[e] (0) Be clearer about what should be echoed as part of the handshake.
Modified: index
===================================================================
--- index 2008-07-03 09:09:46 UTC (rev 1844)
+++ index 2008-07-03 09:13:23 UTC (rev 1845)
@@ -42004,8 +42004,9 @@
<p>The first field consists of three tokens separated by space characters
(byte 0x20). The middle token is the path being opened. If the server
supports multiple paths, then the server should echo the value of this
- field in the initial handshake, on the <code
- title="">WebSocket-Location</code> line.
+ field in the initial handshake, as part of the <a href="#url">URL</a>
+ given on the <code title="">WebSocket-Location</code> line (after the
+ appropriate scheme and host).
<p>The remaining fields consist of name-value pairs, with the name part
separated from the value part by a colon and a space (bytes 0x3a 0x20). Of
@@ -42020,6 +42021,11 @@
hosting environments, where one server might serve multiple hosts, and
might therefore want to return different data.</p>
+ <p>The right host has to be output as part of the <a href="#url">URL</a>
+ given on the <code title="">WebSocket-Location</code> line of the
+ handshake described above, to verify that the server knows that it is
+ really representing that host.</p>
+
<dt>Origin (bytes 4f 72 69 67 69 6e)
<dd>
Modified: source
===================================================================
--- source 2008-07-03 09:09:46 UTC (rev 1844)
+++ source 2008-07-03 09:13:23 UTC (rev 1845)
@@ -39658,8 +39658,10 @@
<p>The first field consists of three tokens separated by space
characters (byte 0x20). The middle token is the path being
opened. If the server supports multiple paths, then the server
- should echo the value of this field in the initial handshake, on the
- <code title="">WebSocket-Location</code> line.</p>
+ should echo the value of this field in the initial handshake, as
+ part of the <span>URL</span> given on the <code
+ title="">WebSocket-Location</code> line (after the appropriate
+ scheme and host).</p>
<p>The remaining fields consist of name-value pairs, with the name
part separated from the value part by a colon and a space (bytes
@@ -39677,6 +39679,11 @@
multiple hosts, and might therefore want to return different
data.</p>
+ <p>The right host has to be output as part of the <span>URL</span>
+ given on the <code title="">WebSocket-Location</code> line of the
+ handshake described above, to verify that the server knows that it
+ is really representing that host.</p>
+
</dd>
<dt>Origin (bytes 4f 72 69 67 69 6e)</dt>
More information about the Commit-Watchers
mailing list