@@ -370,6 +370,8 @@ following <a for=struct>items</a>: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
370
370
<dd> A number.
371
371
<dt> <dfn export for="response body info">content type</dfn> (default the empty string)
372
372
<dd> An <a for=/>ASCII string</a> .
373
+ <dt> <dfn export for="response body info">content encoding</dfn> (default the empty string)
374
+ <dd> An <a for=/>ASCII string</a> .
373
375
</dl>
374
376
375
377
<div algorithm>
@@ -6371,6 +6373,22 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
6371
6373
<li><p> Let <var> codings</var> be the result of <a>extracting header list values</a> given
6372
6374
`<code> Content-Encoding</code> ` and <var> response</var> 's <a for=response>header list</a> .
6373
6375
6376
+ <li><p> Let <var> filteredCoding</var> be "<code> @unknown</code> ".
6377
+
6378
+ <li><p> If <var> codings</var> is null or failure, then set <var> filteredCoding</var> to
6379
+ the empty string.
6380
+
6381
+ <li><p> Otherwise, if <var> codings</var> 's <a for=list>size</a> is greater than 1, then set
6382
+ <var> filteredCoding</var> to "<code> multiple</code> ".
6383
+
6384
+ <li><p> Otherwise, if <var> codings</var> [0] is the empty string, or it is supported by the
6385
+ user agent, and is a <a>byte-case-insensitive</a> match for an entry listed in the
6386
+ <cite> HTTP Content Coding Registry</cite> , then set <var> filteredCoding</var> to the result
6387
+ of <a lt=byte-lowercased>byte-lowercasing</a> <var> codings</var> [0] . [[!IANA-HTTP-PARAMS]]
6388
+
6389
+ <li><p> Set <var> response</var> 's <a for=response>body info</a>' s
6390
+ <a for="response body info">content encoding</a> to <var> filteredCoding</var> .
6391
+
6374
6392
<li><p> Increase <var> response</var> 's <a for=response>body info</a>' s
6375
6393
<a for="response body info">encoded size</a> by <var> bytes</var> 's
6376
6394
<a for="byte sequence">length</a> .
@@ -9180,6 +9198,7 @@ Gavin Carothers,
9180
9198
Glenn Maynard,
9181
9199
Graham Klyne,
9182
9200
Gregory Terzian,
9201
+ Guohui Deng(邓国辉)<!-- guohuideng2024; GitHub -->,
9183
9202
Hal Lockhart,
9184
9203
Hallvord R. M. Steen,
9185
9204
Harris Hancock,
0 commit comments