Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct some header list append invocations #1057

Merged
merged 1 commit into from
Jul 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 6 additions & 5 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4073,7 +4073,7 @@ optional <i>CORS-preflight flag</i>, run these steps:
<ul class=brief>
<li><p>There is no <a>method cache entry match</a> for <var>request</var>'s
<a for=request>method</a> using <var>request</var>, and either <var>request</var>'s
<a for=request>method</a> is a not a <a>CORS-safelisted method</a> or <var>request</var>'s
<a for=request>method</a> is not a <a>CORS-safelisted method</a> or <var>request</var>'s
<a>use-CORS-preflight flag</a> is set.

<li>There is at least one <a for=list>item</a> in the <a>CORS-unsafe request-header names</a>
Expand Down Expand Up @@ -5088,9 +5088,9 @@ run these steps:
<li><p><a for="header list">Append</a> `<code>Accept</code>`/`<code>*/*</code>` to
<var>preflight</var>'s <a for=request>header list</a>.

<li><p><a for="header list">Append</a> `<a http-header><code>Access-Control-Request-Method</code></a>`
to <var>request</var>'s <a for=request>method</a> in <var>preflight</var>'s
<a for=request>header list</a>.
<li><p><a for="header list">Append</a>
`<a http-header><code>Access-Control-Request-Method</code></a>`/<var>request</var>'s
<a for=request>method</a> to <var>preflight</var>'s <a for=request>header list</a>.

<li><p>Let <var>headers</var> be the <a>CORS-unsafe request-header names</a> with
<var>request</var>'s <a for=request>header list</a>.
Expand All @@ -5103,7 +5103,7 @@ run these steps:
`<code>,</code>`.

<li><p><a for="header list">Append</a>
`<a http-header><code>Access-Control-Request-Headers</code></a>` to <var>value</var> in
`<a http-header><code>Access-Control-Request-Headers</code></a>`/<var>value</var> to
<var>preflight</var>'s <a for=request>header list</a>.
</ol>

Expand Down Expand Up @@ -7424,6 +7424,7 @@ Matt Oshry,
Matt Seddon,
Matt Womer,
Mhano Harkness,
Michael Ficarra,
Michael Kohler,
Michael™ Smith,
Mike Pennisi,
Expand Down