Skip to content

Commit

Permalink
[giow] (0) the previous change broke compatibility with HTTP
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@4411 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 7, 2009
1 parent 43b5594 commit ac84f53
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
16 changes: 8 additions & 8 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -65352,11 +65352,10 @@ <h4 id=the-websocket-interface><span class=secno>10.3.2 </span>The <code><a href
-->

<li><p>If <var title="">protocol</var> is present but contains
characters with Unicode code points greater than U+007F (i.e. any
characters that are not ASCII characters), or if it contains either
a U+000A LINE FEED (LF) character or a U+000D CARRIAGE RETURN (CR)
character, then throw a <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception and abort
these steps.</li>
characters with Unicode code points less than U+0020 or greater
than U+007E (i.e. any characters that are not printable ASCII
characters), then throw a <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception and
abort these steps.</li>

<li><p>Let <var title="">origin</var> be the <a href=#ascii-serialization-of-an-origin title="ASCII
serialization of an origin">ASCII serialization</a> of the
Expand Down Expand Up @@ -65935,9 +65934,10 @@ <h6 id=handshake><span class=secno>10.3.4.3.1 </span>Handshake</h6>
following steps. The <var title="">host</var> must be ASCII-only
(i.e. it must have been punycode-encoded already if necessary). The
<var title="">resource name</var> and <var title="">protocol</var>
strings must be ASCII and must not contain U+000A LINE FEED (LF)
or U+000D CARRIAGE RETURN (CR) characters. The <var title="">resource name</var> string must start with a U+002F SOLIDUS
character (/) and must not contain a U+0020 SPACE character. <a href=#refsORIGIN>[ORIGIN]</a></p>
strings must be ASCII characters in the range U+0020 to U+007E. The
<var title="">resource name</var> string must additionally start
with a U+002F SOLIDUS character (/) and must not contain a U+0020
SPACE character. <a href=#refsORIGIN>[ORIGIN]</a></p>

<ol><li>

Expand Down
18 changes: 8 additions & 10 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -74517,11 +74517,10 @@ interface <dfn>WebSocket</dfn> {
-->

<li><p>If <var title="">protocol</var> is present but contains
characters with Unicode code points greater than U+007F (i.e. any
characters that are not ASCII characters), or if it contains either
a U+000A LINE FEED (LF) character or a U+000D CARRIAGE RETURN (CR)
character, then throw a <code>SYNTAX_ERR</code> exception and abort
these steps.</p></li>
characters with Unicode code points less than U+0020 or greater
than U+007E (i.e. any characters that are not printable ASCII
characters), then throw a <code>SYNTAX_ERR</code> exception and
abort these steps.</p></li>

<li><p>Let <var title="">origin</var> be the <span title="ASCII
serialization of an origin">ASCII serialization</span> of the
Expand Down Expand Up @@ -75221,11 +75220,10 @@ Frame type byte &lt;-------------------------------------.
following steps. The <var title="">host</var> must be ASCII-only
(i.e. it must have been punycode-encoded already if necessary). The
<var title="">resource name</var> and <var title="">protocol</var>
strings must be ASCII and must not contain U+000A LINE FEED (LF)
or U+000D CARRIAGE RETURN (CR) characters. The <var
title="">resource name</var> string must start with a U+002F SOLIDUS
character (/) and must not contain a U+0020 SPACE character. <a
href="#refsORIGIN">[ORIGIN]</a></p>
strings must be ASCII characters in the range U+0020 to U+007E. The
<var title="">resource name</var> string must additionally start
with a U+002F SOLIDUS character (/) and must not contain a U+0020
SPACE character. <a href="#refsORIGIN">[ORIGIN]</a></p>

<ol>

Expand Down

0 comments on commit ac84f53

Please sign in to comment.