- From: CVS User ihickson <cvsmail@w3.org>
- Date: Sat, 09 Feb 2013 04:06:20 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/websockets
In directory roscoe:/tmp/cvs-serv30106
Modified Files:
Overview.html
Log Message:
Cleanup (whatwg r7711)
--- /sources/public/html5/websockets/Overview.html 2013/02/09 02:07:37 1.292
+++ /sources/public/html5/websockets/Overview.html 2013/02/09 04:06:20 1.293
@@ -1049,7 +1049,6 @@
-
<h2 id="parsing-websocket-urls"><span class="secno">7 </span>Parsing WebSocket URLs</h2>
<p>The steps to <dfn id="parse-a-websocket-url-s-components">parse a WebSocket URL's components</dfn> from a string <var title="">url</var> are as follows. These steps return either a <var title="">host</var>, a <var title="">port</var>, a <var title="">resource name</var>, and a <var title="">secure</var> flag,
@@ -1068,34 +1067,36 @@
</li>
- <li><p>If the resulting <span>parsed URL</span> does not have a <span title="concept-url-scheme">scheme</span>
- component whose value, when <span>converted to ASCII lowercase</span>, is either "<code title="">ws</code>" or "<code title="">wss</code>", then fail this algorithm.</li>
-
- <li><p>If the resulting <span>parsed URL</span> has a non-null <span title="concept-url-fragment">fragment</span>
- component, then fail this algorithm.</li>
-
- <li><p>If the <span title="concept-url-scheme">scheme</span> component of the resulting <span>parsed URL</span>
- is "<code title="">ws</code>", set <var title="">secure</var> to false; otherwise, the <span title="concept-url-scheme">scheme</span> component is "<code title="">wss</code>", set <var title="">secure</var> to true.</li>
-
- <li><p>Let <var title="">host</var> be the value of the resulting <span>parsed URL</span>'s <span title="concept-url-host">host</span> component, <span>converted to
- ASCII lowercase</span>.</li>
-
- <li><p>If the resulting <span>parsed URL</span> has a <span title="concept-url-port">port</span> component that is not the empty string,
- then let <var title="">port</var> be that component's value; otherwise, there is no explicit <var title="">port</var>.</li>
+ <li><p>If the resulting <span>parsed URL</span> does not have a <span title="concept-url-scheme">scheme</span> component whose value, when <span>converted to ASCII
+ lowercase</span>, is either "<code title="">ws</code>" or "<code title="">wss</code>", then fail
+ this algorithm.</li>
+
+ <li><p>If the resulting <span>parsed URL</span> has a non-null <span title="concept-url-fragment">fragment</span> component, then fail this algorithm.</li>
+
+ <li><p>If the <span title="concept-url-scheme">scheme</span> component of the resulting
+ <span>parsed URL</span> is "<code title="">ws</code>", set <var title="">secure</var> to false;
+ otherwise, the <span title="concept-url-scheme">scheme</span> component is "<code title="">wss</code>", set <var title="">secure</var> to true.</li>
+
+ <li><p>Let <var title="">host</var> be the value of the resulting <span>parsed URL</span>'s <span title="concept-url-host">host</span> component, <span>converted to ASCII
+ lowercase</span>.</li>
+
+ <li><p>If the resulting <span>parsed URL</span> has a <span title="concept-url-port">port</span>
+ component that is not the empty string, then let <var title="">port</var> be that component's
+ value; otherwise, there is no explicit <var title="">port</var>.</li>
<li><p>If there is no explicit <var title="">port</var>, then: if <var title="">secure</var> is
false, let <var title="">port</var> be 80, otherwise let <var title="">port</var> be
443.</li>
- <li><p>Let <var title="">resource name</var> be the value of the resulting <span>parsed URL</span>'s <span title="concept-url-path">path</span> component (which might be empty).</li>
+ <li><p>Let <var title="">resource name</var> be the value of the resulting <span>parsed
+ URL</span>'s <span title="concept-url-path">path</span> component (which might be
+ empty).</li>
<li><p>If <var title="">resource name</var> is the empty string, set it to a single character
U+002F SOLIDUS (/).</li>
- <li><p>If the resulting <span>parsed URL</span> has a non-null <span title="concept-url-query">query</span> component,
- then append a single U+003F QUESTION MARK character (?) to <var title="">resource name</var>,
- followed by the value of the <span title="concept-url-query">query</span> component.</li>
-
+ <li><p>If the resulting <span>parsed URL</span> has a non-null <span title="concept-url-query">query</span> component, then append a single U+003F QUESTION MARK
+ character (?) to <var title="">resource name</var>, followed by the value of the <span title="concept-url-query">query</span> component.</li>
<li><p>Return <var title="">host</var>, <var title="">port</var>, <var title="">resource
name</var>, and <var title="">secure</var>.</li>
Received on Saturday, 9 February 2013 04:06:21 UTC