Skip to content

Commit

Permalink
[e] (0) Be clearer about what should be echoed as part of the handshake.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1845 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 3, 2008
1 parent 376c356 commit f75e741
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
10 changes: 8 additions & 2 deletions index
Expand Up @@ -42004,8 +42004,9 @@ Proxy-authorization: Basic ZWRuYW1vZGU6bm9jYXBlcyE=</pre>
<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
Expand All @@ -42020,6 +42021,11 @@ Proxy-authorization: Basic ZWRuYW1vZGU6bm9jYXBlcyE=</pre>
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>
Expand Down
11 changes: 9 additions & 2 deletions source
Expand Up @@ -39658,8 +39658,10 @@ Proxy-authorization: Basic ZWRuYW1vZGU6bm9jYXBlcyE=</pre>
<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
Expand All @@ -39677,6 +39679,11 @@ Proxy-authorization: Basic ZWRuYW1vZGU6bm9jYXBlcyE=</pre>
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>
Expand Down

0 comments on commit f75e741

Please sign in to comment.