Skip to content

Commit d6bf406

Browse files
authored
Editorial: clarify preflight request headers
Clarify that, although CORS-preflight requests systematically include an Access-Control-Request-Method header, they do not systematically include an Access-Control-Request-Headers header. Fixes #1717.
1 parent 1df00b1 commit d6bf406

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

fetch.bs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3386,13 +3386,17 @@ for all <a for=/>requests</a> whose <a for=request>method</a> is neither `<code>
33863386

33873387
<p>A <dfn id=cors-preflight-request export>CORS-preflight request</dfn> is a <a>CORS request</a>
33883388
that checks to see if the <a>CORS protocol</a> is understood. It uses `<code>OPTIONS</code>` as
3389-
<a for=/>method</a> and includes these <a for=/>headers</a>:
3389+
<a for=/>method</a> and includes the following <a for=/>header</a>:
33903390

33913391
<dl>
33923392
<dt>`<dfn export http-header id=http-access-control-request-method><code>Access-Control-Request-Method</code></dfn>`
33933393
<dd><p>Indicates which <a for=/>method</a> a future
33943394
<a>CORS request</a> to the same resource might use.
3395+
</dl>
3396+
3397+
<p>A <a>CORS-preflight request</a> can also include the following <a for=/>header</a>:
33953398

3399+
<dl>
33963400
<dt>`<dfn export http-header id=http-access-control-request-headers><code>Access-Control-Request-Headers</code></dfn>`
33973401
<dd><p>Indicates which <a for=/>headers</a> a future
33983402
<a>CORS request</a> to the same resource might use.

0 commit comments

Comments
 (0)