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

Use a singular form for the concepts: 'filtered response', 'CORS filtered response', and 'opaque filtered response'. #4

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<p><a class="logo" href="//www.whatwg.org/"><img alt="WHATWG" height="100" src="//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-7-february-2014">Living Standard — Last Updated 7 February 2014</h2>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-5-march-2014">Living Standard — Last Updated 5 March 2014</h2>

<dl>
<dt>This Version:
Expand All @@ -33,7 +33,7 @@ <h2 class="no-num no-toc" id="living-standard-—-last-updated-7-february-2014">
<p class="copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
To the extent possible under law, the editor has waived all copyright and
related or neighboring rights to this work. In addition, as of
7 February 2014, the editor has made this specification available
5 March 2014, the editor has made this specification available
under the
<a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
which is available at
Expand All @@ -53,33 +53,33 @@ <h2 class="no-num no-toc" id="abstract">Abstract</h2>
<h2 class="no-num no-toc" id="table-of-contents">Table of Contents</h2>

<!--begin-toc-->
<ol class="toc">
<ul class="toc">
<li><a class="no-num" href="#goals">Goals</a></li>
<li><a href="#conformance"><span class="secno">1 </span>Conformance</a></li>
<li><a href="#terminology"><span class="secno">2 </span>Terminology</a>
<ol class="toc">
<ul class="toc">
<li><a href="#http"><span class="secno">2.1 </span>HTTP</a></li>
<li><a href="#requests"><span class="secno">2.2 </span>Requests</a></li>
<li><a href="#responses"><span class="secno">2.3 </span>Responses</a></ol></li>
<li><a href="#responses"><span class="secno">2.3 </span>Responses</a></ul></li>
<li><a href="#http-extensions"><span class="secno">3 </span>HTTP extensions</a>
<ol class="toc">
<ul class="toc">
<li><a href="#http-origin-header"><span class="secno">3.1 </span>HTTP <code title="">Origin</code> header</a></li>
<li><a href="#http-cors-protocol"><span class="secno">3.2 </span>HTTP CORS protocol</a>
<ol class="toc">
<ul class="toc">
<li><a href="#general"><span class="secno">3.2.1 </span>General</a></li>
<li><a href="#http-requests"><span class="secno">3.2.2 </span>HTTP requests</a></li>
<li><a href="#http-responses"><span class="secno">3.2.3 </span>HTTP responses</a></li>
<li><a href="#http-new-header-syntax"><span class="secno">3.2.4 </span>HTTP new header syntax</a></ol></ol></li>
<li><a href="#http-new-header-syntax"><span class="secno">3.2.4 </span>HTTP new header syntax</a></ul></ul></li>
<li><a href="#fetching"><span class="secno">4 </span>Fetching</a>
<ol class="toc">
<ul class="toc">
<li><a href="#basic-fetch"><span class="secno">4.1 </span>Basic fetch</a></li>
<li><a href="#cors-fetch-with-preflight"><span class="secno">4.2 </span>CORS fetch with preflight</a></li>
<li><a href="#cors-preflight-fetch"><span class="secno">4.3 </span>CORS preflight fetch</a></li>
<li><a href="#cors-preflight-cache"><span class="secno">4.4 </span>CORS preflight cache</a></li>
<li><a href="#cors-check"><span class="secno">4.5 </span>CORS check</a></ol></li>
<li><a href="#cors-check"><span class="secno">4.5 </span>CORS check</a></ul></li>
<li><a class="no-num" href="#html-fetch">HTML fetch</a></li>
<li><a class="no-num" href="#references">References</a></li>
<li><a class="no-num" href="#acknowledgments">Acknowledgments</a></ol>
<li><a class="no-num" href="#acknowledgments">Acknowledgments</a></ul>
<!--end-toc-->


Expand Down Expand Up @@ -388,16 +388,16 @@ <h3 id="responses"><span class="secno">2.3 </span>Responses</h3>
<a href="#concept-internal-response" title="concept-internal-response">internal response</a> can be used.

<p>A <dfn id="concept-filtered-response-basic" title="concept-filtered-response-basic">basic filtered response</dfn> is a
<a href="#concept-filtered-response" title="concept-filtered-response">filtered responses</a> whose
<a href="#concept-filtered-response" title="concept-filtered-response">filtered response</a> whose
<a href="#concept-response-headers" title="concept-response-headers">response headers</a> exclude any
<a href="#concept-header" title="concept-header">headers</a> in
<a href="#concept-internal-response" title="concept-internal-response">internal response</a>'s
<a href="#concept-response-headers" title="concept-response-headers">response headers</a> whose
<a href="#concept-header-name" title="concept-header-name">name</a> is `<code title="">Set-Cookie</code>` or
`<code title="">Set-Cookie2</code>`.

<p>A <dfn id="concept-filtered-response-cors" title="concept-filtered-response-cors">CORS filtered responses</dfn> is a
<a href="#concept-filtered-response" title="concept-filtered-response">filtered responses</a> whose
<p>A <dfn id="concept-filtered-response-cors" title="concept-filtered-response-cors">CORS filtered response</dfn> is a
<a href="#concept-filtered-response" title="concept-filtered-response">filtered response</a> whose
<a href="#concept-response-headers" title="concept-response-headers">response headers</a> exclude all
<a href="#concept-header" title="concept-header">headers</a> in
<a href="#concept-internal-response" title="concept-internal-response">internal response</a>'s
Expand All @@ -415,8 +415,8 @@ <h3 id="responses"><span class="secno">2.3 </span>Responses</h3>
<a href="#concept-header-name" title="concept-header-name">name</a> is
`<code title="http-access-control-expose-headers"><a href="#http-access-control-expose-headers">Access-Control-Expose-Headers</a></code>`.

<p>An <dfn id="concept-filtered-response-opaque" title="concept-filtered-response-opaque">opaque filtered responses</dfn> is a
<a href="#concept-filtered-response" title="concept-filtered-response">filtered responses</a> whose
<p>An <dfn id="concept-filtered-response-opaque" title="concept-filtered-response-opaque">opaque filtered response</dfn> is a
<a href="#concept-filtered-response" title="concept-filtered-response">filtered response</a> whose
<a href="#concept-response-type" title="concept-response-type">type</a> is <i title="">error</i>,
<a href="#concept-response-status" title="concept-response-status">status</a> is <code title="">0</code>,
<a href="#concept-response-status-message" title="concept-response-status-message">status message</a> is the empty byte sequence,
Expand Down
10 changes: 5 additions & 5 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -362,16 +362,16 @@ <h3>Responses</h3>
<span title=concept-internal-response>internal response</span> can be used.

<p>A <dfn title=concept-filtered-response-basic>basic filtered response</dfn> is a
<span title=concept-filtered-response>filtered responses</span> whose
<span title=concept-filtered-response>filtered response</span> whose
<span title=concept-response-headers>response headers</span> exclude any
<span title=concept-header>headers</span> in
<span title=concept-internal-response>internal response</span>'s
<span title=concept-response-headers>response headers</span> whose
<span title=concept-header-name>name</span> is `<code title>Set-Cookie</code>` or
`<code title>Set-Cookie2</code>`.

<p>A <dfn title=concept-filtered-response-cors>CORS filtered responses</dfn> is a
<span title=concept-filtered-response>filtered responses</span> whose
<p>A <dfn title=concept-filtered-response-cors>CORS filtered response</dfn> is a
<span title=concept-filtered-response>filtered response</span> whose
<span title=concept-response-headers>response headers</span> exclude all
<span title=concept-header>headers</span> in
<span title=concept-internal-response>internal response</span>'s
Expand All @@ -389,8 +389,8 @@ <h3>Responses</h3>
<span title=concept-header-name>name</span> is
`<code title=http-access-control-expose-headers>Access-Control-Expose-Headers</code>`.

<p>An <dfn title=concept-filtered-response-opaque>opaque filtered responses</dfn> is a
<span title=concept-filtered-response>filtered responses</span> whose
<p>An <dfn title=concept-filtered-response-opaque>opaque filtered response</dfn> is a
<span title=concept-filtered-response>filtered response</span> whose
<span title=concept-response-type>type</span> is <i title>error</i>,
<span title=concept-response-status>status</span> is <code title>0</code>,
<span title=concept-response-status-message>status message</span> is the empty byte sequence,
Expand Down