Skip to content
Permalink
Browse files

Define HTTP(S) scheme for HTML

  • Loading branch information...
annevk committed May 25, 2016
1 parent e01fc92 commit 08f9d3924f64cecf04746c926ac05c2429c5fe87
Showing with 188 additions and 35 deletions.
  1. +8 −5 url.bs
  2. +180 −30 url.html
13 url.bs
@@ -858,7 +858,7 @@ resource the <a for=url>URL</a>'s other components identify. It is initially nul

<hr>

<p>A <dfn>special scheme</dfn> is a <a for=url>scheme</a> listed in the first column of
<p>A <dfn export>special scheme</dfn> is a <a for=url>scheme</a> listed in the first column of
the following table. A <dfn>default port</dfn> is a <a>special scheme</a>'s optional
corresponding <a for=url>port</a> and is listed in the second column on the same row.

@@ -881,10 +881,10 @@ corresponding <a for=url>port</a> and is listed in the second column on the same
It seems fine to remain compatible on that front, no need to support it
elsewhere though. -->

<p>A <a for=url>URL</a> <dfn>is special</dfn> if its <a for=url>scheme</a> is a
<p>A <a for=url>URL</a> <dfn export>is special</dfn> if its <a for=url>scheme</a> is a
<a>special scheme</a>.

<p>A <dfn>local scheme</dfn> is a <a for=url>scheme</a> that is "<code>about</code>",
<p>A <dfn export>local scheme</dfn> is a <a for=url>scheme</a> that is "<code>about</code>",
"<code>blob</code>", "<code>data</code>", or "<code>filesystem</code>".

<p>A <a for=url>URL</a> <dfn>is local</dfn> if its <a for=url>scheme</a> is a
@@ -894,10 +894,13 @@ corresponding <a for=url>port</a> and is listed in the second column on the same
Referrer Policy. [[FETCH]] [[REFERRER-POLICY]]
<!-- And soonish CSP -->

<p>A <dfn>network scheme</dfn> is a <a for=url>scheme</a> that is "<code>ftp</code>",
<p>A <dfn export>network scheme</dfn> is a <a for=url>scheme</a> that is "<code>ftp</code>",
"<code>http</code>", or "<code>https</code>".

<p class=note>This definition is used by HTML. [[HTML]]
<p>An <dfn export id=http-scheme>HTTP(S) scheme</dfn> is a <a for=url>scheme</a> that is
"<code>http</code>" or "<code>https</code>".

<p class=note><a>Network scheme</a> and <a>HTTP(S) scheme</a> are used by HTML. [[HTML]]

<p>A <a for=url>URL</a> <dfn lt="include credentials">includes credentials</dfn> if either
its <a for=url>username</a> is not the empty string or its <a for=url>password</a> is

0 comments on commit 08f9d39

Please sign in to comment.
You can’t perform that action at this time.