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

stop killing so many trees. #10

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
42 changes: 21 additions & 21 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-5-august-2014">Living Standard — Last Updated 5 August 2014</h2>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-6-august-2014">Living Standard — Last Updated 6 August 2014</h2>

<dl>
<dt>This Version:
Expand All @@ -33,7 +33,7 @@ <h2 class="no-num no-toc" id="living-standard-—-last-updated-5-august-2014">Li
<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
5 August 2014, the editor has made this specification available
6 August 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 @@ -43,7 +43,7 @@ <h2 class="no-num no-toc" id="living-standard-—-last-updated-5-august-2014">Li



<h2 class="no-num no-toc" id="abstract">Abstract</h2>
<h2 class="no-num no-toc short" id="abstract">Abstract</h2>

<p>The Fetch standard defines requests, responses, and the process that binds them;
fetching.
Expand All @@ -53,56 +53,56 @@ <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">
<li><a class="no-num" href="#goals">Goals</a></li>
<li><a href="#conformance"><span class="secno">1 </span>Conformance</a></li>
<ul class="toc">
<li><a class="no-num short" href="#goals">Goals</a></li>
<li><a class="short" 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>
<ol class="toc">
<ul class="toc">
<li><a href="#methods"><span class="secno">2.1.1 </span>Methods</a></li>
<li><a href="#terminology-headers"><span class="secno">2.1.2 </span>Headers</a></li>
<li><a href="#body"><span class="secno">2.1.3 </span>Body</a></li>
<li><a href="#requests"><span class="secno">2.1.4 </span>Requests</a></li>
<li><a href="#responses"><span class="secno">2.1.5 </span>Responses</a></ol></ol></li>
<li><a href="#responses"><span class="secno">2.1.5 </span>Responses</a></ul></ul></li>
<li><a href="#http-extensions"><span class="secno">3 </span>HTTP extensions</a>
<ol class="toc">
<ul class="toc">
<li><a href="#origin-header"><span class="secno">3.1 </span>`<code title="">Origin</code>` header</a></li>
<li><a href="#http-cors-protocol"><span class="secno">3.2 </span>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="#http-fetch"><span class="secno">4.2 </span>HTTP fetch</a></li>
<li><a href="#http-network-or-cache-fetch"><span class="secno">4.3 </span>HTTP network or cache fetch</a></li>
<li><a href="#cors-preflight-fetch"><span class="secno">4.4 </span>CORS preflight fetch</a></li>
<li><a href="#cors-preflight-cache"><span class="secno">4.5 </span>CORS preflight cache</a></li>
<li><a href="#cors-check"><span class="secno">4.6 </span>CORS check</a></ol></li>
<li><a href="#cors-check"><span class="secno">4.6 </span>CORS check</a></ul></li>
<li><a href="#fetch-api"><span class="secno">5 </span>Fetch API</a>
<ol class="toc">
<ul class="toc">
<li><a href="#headers-class"><span class="secno">5.1 </span>Headers class</a></li>
<li><a href="#body-stream-concept"><span class="secno">5.2 </span>Body stream concept</a></li>
<li><a href="#request-class"><span class="secno">5.3 </span>Request class</a></li>
<li><a href="#response-class"><span class="secno">5.4 </span>Response class</a></li>
<li><a href="#structured-cloning-of-headers,-fetchbodystream,-request,-and-response-objects"><span class="secno">5.5 </span>Structured cloning of <code>Headers</code>, <code>FetchBodyStream</code>, <code>Request</code>, and <code>Response</code> objects</a></li>
<li><a href="#fetch-method"><span class="secno">5.6 </span>Fetch method</a></ol></li>
<li><a href="#fetch-method"><span class="secno">5.6 </span>Fetch method</a></ul></li>
<li><a class="no-num" href="#background-reading">Background reading</a>
<ol class="toc">
<ul class="toc">
<li><a class="no-num" href="#http-header-layer-division">HTTP header layer division</a></li>
<li><a class="no-num" href="#atomic-http-redirect-handling">Atomic HTTP redirect handling</a></li>
<li><a class="no-num" href="#basic-safe-cors-protocol-setup">Basic safe CORS protocol setup</a></li>
<li><a class="no-num" href="#cors-protocol-and-http-caches">CORS protocol and HTTP caches</a></ol></li>
<li><a class="no-num" href="#cors-protocol-and-http-caches">CORS protocol and HTTP caches</a></ul></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-->



<h2 class="no-num" id="goals">Goals</h2>
<h2 class="no-num short" id="goals">Goals</h2>

<p>To unify fetching across the web platform this specification supplants a number of algorithms and specifications:

Expand All @@ -128,7 +128,7 @@ <h2 class="no-num" id="goals">Goals</h2>



<h2 id="conformance"><span class="secno">1 </span>Conformance</h2>
<h2 class="short" id="conformance"><span class="secno">1 </span>Conformance</h2>

<p>All diagrams, examples, and notes in this specification are
non-normative, as are all sections explicitly marked non-normative.
Expand Down
6 changes: 3 additions & 3 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2 class="no-num no-toc">Living Standard &mdash; Last Updated [DATE: 3 August 2



<h2 class="no-num no-toc">Abstract</h2>
<h2 class="no-num no-toc short">Abstract</h2>

<p>The Fetch standard defines requests, responses, and the process that binds them;
fetching.
Expand All @@ -58,7 +58,7 @@ <h2 class="no-num no-toc">Table of Contents</h2>



<h2 class=no-num>Goals</h2>
<h2 class="no-num short">Goals</h2>

<p>To unify fetching across the web platform this specification supplants a number of algorithms and specifications:

Expand All @@ -84,7 +84,7 @@ <h2 class=no-num>Goals</h2>



<h2>Conformance</h2>
<h2 class="short">Conformance</h2>

<p>All diagrams, examples, and notes in this specification are
non-normative, as are all sections explicitly marked non-normative.
Expand Down