Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit f51fea8

Browse files
Add an "About this fork" introduction (#18)
This introduction includes a list of changes with respect to the WHATWG spec, to be updated as they're introduced, as well as a list of planned features. Fixes #16.
1 parent 09af53c commit f51fea8

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

fetch.bs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,46 @@ spec:infra; type:dfn; text:implementation-defined
121121

122122

123123

124+
<h2 id=wintercg-fork class="no-num short">About this fork</h2>
125+
126+
<p>This specification is a fork of the WHATWG Fetch spec [[FETCH]], made as part of the
127+
<a href="https://wintercg.org">WinterCG</a> effort, to make it more suitable for server-side
128+
JavaScript runtimes to implement.
129+
130+
<p>The goal of this fork on a short to medium term is to agree on the behavior of fetching in
131+
server-side runtimes, and on the long term to upstream those changes into the WHATWG specification.
132+
133+
<p>The changes from the WHATWG spec so far are:
134+
135+
<ul>
136+
<li><p>(none)
137+
</ul>
138+
139+
<p class=XXX>Please update this list as new changes are added.
140+
141+
<p>This spec is still a work in progress, and some things we hope to specify in the future are:
142+
143+
<ul>
144+
<li><p>Remove CORS restrictions for runtimes with no concept of origins.
145+
146+
<li><p>Specify how headers are filtered in {{Request}} and {{Response}} instances in various
147+
runtimes.
148+
149+
<li><p>Specify how relative URLs resolve in {{fetch}} and the {{Request}} constructor for runtimes
150+
without a concept of <a>API base URL</a>.
151+
152+
<li><p>Full-duplex request streaming (see
153+
<a href="https://github.com/whatwg/fetch/issues/1254">WHATWG issue #1254</a>). Although this is not
154+
specific to server-side runtimes, it's unlikely for browsers to implement it anytime soon.
155+
156+
<li><p>Specify how {{Request}} and {{Response}} behave in (runtime-specific) HTTP server APIs. Do
157+
they behave as they do in <a for="/">service workers</a>?
158+
159+
<li><p>Etc.
160+
</ul>
161+
162+
163+
124164
<h2 id=goals class="no-num short">Goals</h2>
125165

126166
<p>The goal is to unify fetching across the web platform and provide consistent handling of

0 commit comments

Comments
 (0)