Skip to content

Commit

Permalink
Clarify requirements on a CORS server
Browse files Browse the repository at this point in the history
Fixes whatwg#172.
  • Loading branch information
annevk authored Mar 30, 2017
1 parent 14cef88 commit 9289687
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1952,6 +1952,13 @@ if the <a>CORS protocol</a> is understood. It uses `<code>OPTIONS</code>` as
of the response by listing their <a lt=name for=header>names</a>.
</dl>

<hr>

<p>In case a server does not wish to participate in the <a>CORS protocol</a>, its HTTP response to
the <a lt="CORS request">CORS</a> or <a>CORS-preflight request</a> must not include any of the above
<a>headers</a>. The server is encouraged to use the <code>403</code> <a for=/>status</a> in such
HTTP responses.


<h4 id=http-new-header-syntax>HTTP new-header syntax</h4>

Expand Down

0 comments on commit 9289687

Please sign in to comment.