Skip to content

Commit

Permalink
Allow CORS responses for client requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Jul 17, 2015
1 parent c9d8c88 commit 1612905
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
13 changes: 7 additions & 6 deletions Overview.html
Expand Up @@ -7,7 +7,7 @@

<p><a class="logo" href="https://whatwg.org/"><img alt="WHATWG" height="100" src="https://resources.whatwg.org/logo-fetch.svg" width="100"></a>
<h1 id="cors">Fetch</h1>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-16-july-2015">Living Standard — Last Updated 16 July 2015</h2>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-17-july-2015">Living Standard — Last Updated 17 July 2015</h2>

<dl>
<dt>Participate:
Expand Down Expand Up @@ -1945,12 +1945,13 @@ <h3 id="http-fetch"><span class="secno">5.3 </span>HTTP fetch</h3>
<li><var title="">request</var> is <em>not</em> a <a href="#navigation-request">navigation request</a> and
<var title="">response</var>'s <a href="#concept-response-type" title="concept-response-type">type</a> is
"<code title="">opaqueredirect</code>".

<li><var title="">request</var> is a <a href="#client-request">client request</a> and
<var title="">response</var>'s <a href="#concept-response-type" title="concept-response-type">type</a> is none of
"<code>basic</code>", "<code>default</code>", and "<code>opaqueredirect</code>".
<!-- This needs to be revisited somehow if we ever get cross-origin workers. -->
</ul>

<p class="note no-backref">The underlying assumption here is that all
<a href="#client-request" title="client request">client requests</a> use
<a href="#concept-request-mode" title="concept-request-mode">mode</a> "<code title="">same-origin</code>", which
is currently not explicitly stated for
<a href="#navigation-request" title="navigation request">navigation requests</a>.
</ol>

<li>
Expand Down
11 changes: 6 additions & 5 deletions Overview.src.html
Expand Up @@ -1891,12 +1891,13 @@ <h3>HTTP fetch</h3>
<li><var title>request</var> is <em>not</em> a <span>navigation request</span> and
<var title>response</var>'s <span title=concept-response-type>type</span> is
"<code title>opaqueredirect</code>".

<li><var title>request</var> is a <span>client request</span> and
<var title>response</var>'s <span title=concept-response-type>type</span> is none of
"<code>basic</code>", "<code>default</code>", and "<code>opaqueredirect</code>".
<!-- This needs to be revisited somehow if we ever get cross-origin workers. -->
</ul>

<p class="note no-backref">The underlying assumption here is that all
<span title="client request">client requests</span> use
<span title=concept-request-mode>mode</span> "<code title>same-origin</code>", which
is currently not explicitly stated for
<span title="navigation request">navigation requests</span>.
</ol>

<li>
Expand Down

0 comments on commit 1612905

Please sign in to comment.