diff --git a/fetch.bs b/fetch.bs index e7ae3b1af..c1ac990c9 100644 --- a/fetch.bs +++ b/fetch.bs @@ -1744,7 +1744,6 @@ run these steps:
Return allowed. -
This section will be integrated into HTTP Client Hints.
@@ -1758,6 +1757,46 @@ of which is one of ` An Accept-CH cache is owned by the user agent and consists
+ of a collection of entries where each entry has these fields:
+
+ Entries must be removed after the seconds specified in the
+max-age field have passed since storing the entry.
+Entries may be removed before that moment arrives.
+
+ To create a new entry in
+the Accept-CH cache, given origin, max-age, and
+client-hints list, do so as follows:
+
+ To retrieve client-hints list,
+given an origin:
+ This section might be integrated into other standards, such as IDL.
@@ -2897,6 +2936,19 @@ with a CORS flag and recursive flag, run these steps:
Set internalResponse's CSP list.
[[!CSP]]
+ If response's
+ Accept-CH header
+ is present, process the header and add its client-hints tokens to the active document's
+ client-hints list.
+
+
+
+ If response's
+ Accept-CH-Lifetime header
+ is present, call
+ create a new entry with response's origin, the
+ parsed max-age, and the active document's client-hints list.
+
If response is not a network error and any
of the following algorithms returns blocked, then set response and
DPR`, `Save-Data`, `Viewport
`Width`.
+Accept-CH cache
+
+
+
+
+
+
+
+
+
Streams