Skip to content

Commit f725059

Browse files
noamrannevk
andauthored
Editorial: reference the new HTTP RFCs
This does not necessarily account for all the changes made, so clarifying changes might still be needed, but this does ensure the build process is no longer stuck. Co-authored-by: Anne van Kesteren <[email protected]>
1 parent 82bb961 commit f725059

File tree

1 file changed

+16
-28
lines changed

1 file changed

+16
-28
lines changed

fetch.bs

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,13 @@ spec:websockets; type:attribute; text:bufferedAmount; for:WebSocket
4343
<pre class=biblio>
4444
{
4545
"HTTP": {
46-
"aliasOf": "RFC7230"
47-
},
48-
"HTTP-SEMANTICS": {
49-
"aliasOf": "RFC7231"
50-
},
51-
"HTTP-COND": {
52-
"aliasOf": "RFC7232"
46+
"aliasOf": "RFC9110"
5347
},
5448
"HTTP-CACHING": {
55-
"aliasOf": "RFC7234"
49+
"aliasOf": "RFC9111"
5650
},
57-
"HTTP-RANGE": {
58-
"aliasOf": "RFC7233"
59-
},
60-
"HTTP-AUTH": {
61-
"aliasOf": "RFC7235"
51+
"HTTP1": {
52+
"aliasOf": "RFC9112"
6253
},
6354
"REFERRER": {
6455
"aliasOf": "referrer-policy"
@@ -191,7 +182,7 @@ and RFC 7405. [[!RFC7405]]
191182

192183
<p><dfn id=credentials export>Credentials</dfn> are HTTP cookies, TLS client certificates, and <a
193184
lt="authentication entry">authentication entries</a> (for HTTP authentication). [[!COOKIES]]
194-
[[!TLS]] [[!HTTP-AUTH]]
185+
[[!TLS]] [[!HTTP]]
195186

196187
<hr>
197188

@@ -1310,7 +1301,7 @@ these steps:
13101301
<li><p>If <var>codings</var> are not supported, then return <var>bytes</var>.
13111302

13121303
<li><p>Return the result of decoding <var>bytes</var> with <var>codings</var> as explained in HTTP,
1313-
if decoding does not result in an error, and failure otherwise. [[!HTTP]] [[!HTTP-SEMANTICS]]
1304+
if decoding does not result in an error, and failure otherwise. [[!HTTP]]
13141305
</ol>
13151306
<!-- XXX https://github.com/whatwg/fetch/issues/716
13161307
https://github.com/httpwg/http-core/issues/58 -->
@@ -1741,8 +1732,7 @@ Unless stated otherwise, it is unset.
17411732
fetch will be made to update the entry in the HTTP cache. If the HTTP cache contains a matching
17421733
<a>stale response</a>, a conditional network fetch will be returned to update the entry in
17431734
the HTTP cache. Otherwise, a non-conditional network fetch will be returned to update the entry
1744-
in the HTTP cache. [[!HTTP]] [[!HTTP-SEMANTICS]] [[!HTTP-COND]] [[!HTTP-CACHING]] [[!HTTP-AUTH]]
1745-
[[!STALE-WHILE-REVALIDATE]]
1735+
in the HTTP cache. [[!HTTP]] [[!HTTP-CACHING]] [[!STALE-WHILE-REVALIDATE]]
17461736

17471737
<dt>"<code>no-store</code>"
17481738
<dd>Fetch behaves as if there is no HTTP cache at all.
@@ -2295,7 +2285,7 @@ or a <a for=/>URL</a>.
22952285
<var>location</var>'s <a for=url>fragment</a> to <var>requestFragment</var>.
22962286

22972287
<p class=note>This ensures that synthetic (indeed, all) responses follow the processing model for
2298-
redirects defined by HTTP. [[HTTP-SEMANTICS]]
2288+
redirects defined by HTTP. [[HTTP]]
22992289

23002290
<li><p>Return <var>location</var>.
23012291
</ol>
@@ -2331,7 +2321,7 @@ and associated with one or more <a for=/>requests</a>.
23312321
functionality.
23322322
<!-- fingerprinting -->
23332323

2334-
<p>Further details are defined by HTTP. [[!HTTP]] [[!HTTP-SEMANTICS]] [[!HTTP-COND]] [[!HTTP-CACHING]] [[!HTTP-AUTH]]
2324+
<p>Further details are defined by HTTP. [[!HTTP]] [[!HTTP-CACHING]]
23352325

23362326

23372327
<h3 id=fetch-groups>Fetch groups</h3>
@@ -2584,8 +2574,7 @@ boolean <var>http3Only</var>, run these steps:
25842574
<a for=connection>credentials</a> is <var>credentials</var>, and <a for=connection>timing info</a>
25852575
is <var>timingInfo</var>. <a for=/>Record connection timing info</a> given <var>connection</var>
25862576
and use <var>connection</var> to establish an HTTP connection to <var>host</var>, taking
2587-
<var>proxy</var> and <var>origin</var> into account. [[!HTTP]] [[!HTTP-SEMANTICS]] [[!HTTP-COND]]
2588-
[[!HTTP-CACHING]] [[!HTTP-AUTH]] [[!TLS]]
2577+
<var>proxy</var> and <var>origin</var> into account. [[!HTTP]] [[!HTTP1]] [[!TLS]]
25892578

25902579
<p>If <var>http3Only</var> is true, then establish an HTTP/3 connection. [[!HTTP3]]
25912580

@@ -2656,7 +2645,7 @@ boolean <var>http3Only</var>, run these steps:
26562645
<p class=example id=example-connection-end-time>Suppose the user agent establishes an HTTP/2
26572646
connection over TLS 1.3 to send a <code>GET</code> request and a <code>POST</code> request. It
26582647
sends the ClientHello at time <var>t1</var> and then sends the <code>GET</code> request with early
2659-
data. The <code>POST</code> request is not safe ([[HTTP-SEMANTICS]], section 4.2.1), so the user
2648+
data. The <code>POST</code> request is not safe ([[HTTP]], section 9.2.1), so the user
26602649
agent waits to complete the handshake at time <var>t2</var> before sending it. Although both
26612650
requests used the same connection, the <code>GET</code> request reports a connection end time of
26622651
<var>t1</var>, while the <code>POST</code> request reports <var>t2</var>.
@@ -4878,8 +4867,8 @@ steps. They return a <a for=/>response</a>.
48784867
<var>isNewConnectionFetch</var> (default false), run these steps:
48794868

48804869
<p class=note>Some implementations might support caching of partial content, as per
4881-
<cite>HTTP Range Requests</cite>. However, this is not widely supported by browser caches.
4882-
[[HTTP-RANGE]]
4870+
<cite>HTTP Caching</cite>. However, this is not widely supported by browser caches.
4871+
[[HTTP-CACHING]]
48834872

48844873
<ol>
48854874
<li><p>Let <var>request</var> be <var>fetchParams</var>'s <a for="fetch params">request</a>.
@@ -5364,7 +5353,7 @@ steps. They return a <a for=/>response</a>.
53645353
<li>
53655354
<p>Prompt the end user as appropriate in <var>request</var>'s
53665355
<a for=request>window</a> and store the result as a
5367-
<a>proxy-authentication entry</a>. [[!HTTP-AUTH]]
5356+
<a>proxy-authentication entry</a>. [[!HTTP]]
53685357

53695358
<p class=note>Remaining details surrounding proxy authentication are defined by HTTP.
53705359

@@ -5473,7 +5462,7 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
54735462
using <var>request</var> with the following caveats:
54745463

54755464
<ul>
5476-
<li><p>Follow the relevant requirements from HTTP. [[!HTTP]] [[!HTTP-SEMANTICS]] [[!HTTP-COND]] [[!HTTP-CACHING]] [[!HTTP-AUTH]]
5465+
<li><p>Follow the relevant requirements from HTTP. [[!HTTP]] [[!HTTP-CACHING]]
54775466

54785467
<li>
54795468
<p>If <var>request</var>'s <a for=request>body</a> is non-null, and <var>request</var>'s
@@ -8125,8 +8114,7 @@ however, it is perfectly fine to do so.
81258114
<p>If <a>CORS protocol</a> requirements are more complicated than setting
81268115
`<a http-header><code>Access-Control-Allow-Origin</code></a>` to <code>*</code> or a static
81278116
<a for=/>origin</a>, `<code>Vary</code>` is to be used.
8128-
[[!HTML]]
8129-
[[!HTTP]] [[!HTTP-SEMANTICS]] [[!HTTP-COND]] [[!HTTP-CACHING]] [[!HTTP-AUTH]]
8117+
[[!HTML]] [[!HTTP]] [[!HTTP-CACHING]]
81308118

81318119
<pre id=example-vary-origin class=example><code class=lang-http>
81328120
Vary: Origin

0 commit comments

Comments
 (0)