Skip to content

Commit 02b2e8e

Browse files
committed
Stop using ABNF for the Origin header
As we do not have ABNF-compatible definitions for scheme, host, and port.
1 parent df5b29a commit 02b2e8e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

fetch.bs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,14 +2819,8 @@ request <a for=/>header</a> indicates where a
28192819
<a lt=fetch for=/>fetches</a>.
28202820
<!-- Ian Hickson told me Adam Barth researched that -->
28212821

2822-
<p>Its <a for=header>value</a> <a>ABNF</a>:
2823-
2824-
<pre><code class=lang-abnf>
2825-
Origin = origin-or-null
2826-
2827-
origin-or-null = origin / %s"null" ; case-sensitive
2828-
origin = <a for=url>scheme</a> "://" <a for=url>host</a> [ ":" <a for=url>port</a> ]
2829-
</code></pre>
2822+
<p>Its possible <a for=header>values</a> are all the return values of
2823+
<a>byte-serializing a request origin</a>, given a <a for=/>request</a>.
28302824

28312825
<p class=note>This supplants the definition in <cite>The Web Origin Concept</cite>. [[ORIGIN]]
28322826

0 commit comments

Comments
 (0)