@@ -377,6 +377,8 @@ following <a for=struct>items</a>: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
377
377
<dd> A number.
378
378
<dt> <dfn export for="response body info">content type</dfn> (default the empty string)
379
379
<dd> An <a for=/>ASCII string</a> .
380
+ <dt> <dfn export for="response body info">content encoding</dfn> (default the empty string)
381
+ <dd> An <a for=/>ASCII string</a> .
380
382
</dl>
381
383
382
384
<div algorithm>
@@ -6432,6 +6434,22 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
6432
6434
<li><p> Let <var> codings</var> be the result of <a>extracting header list values</a> given
6433
6435
`<code> Content-Encoding</code> ` and <var> response</var> 's <a for=response>header list</a> .
6434
6436
6437
+ <li><p> Let <var> filteredCoding</var> be "<code> @unknown</code> ".
6438
+
6439
+ <li><p> If <var> codings</var> is null or failure, then set <var> filteredCoding</var> to
6440
+ the empty string.
6441
+
6442
+ <li><p> Otherwise, if <var> codings</var> 's <a for=list>size</a> is greater than 1, then set
6443
+ <var> filteredCoding</var> to "<code> multiple</code> ".
6444
+
6445
+ <li><p> Otherwise, if <var> codings</var> [0] is the empty string, or it is supported by the
6446
+ user agent, and is a <a>byte-case-insensitive</a> match for an entry listed in the
6447
+ <cite> HTTP Content Coding Registry</cite> , then set <var> filteredCoding</var> to the result
6448
+ of <a lt=byte-lowercased>byte-lowercasing</a> <var> codings</var> [0] . [[!IANA-HTTP-PARAMS]]
6449
+
6450
+ <li><p> Set <var> response</var> 's <a for=response>body info</a>' s
6451
+ <a for="response body info">content encoding</a> to <var> filteredCoding</var> .
6452
+
6435
6453
<li><p> Increase <var> response</var> 's <a for=response>body info</a>' s
6436
6454
<a for="response body info">encoded size</a> by <var> bytes</var> 's
6437
6455
<a for="byte sequence">length</a> .
@@ -9241,6 +9259,7 @@ Gavin Carothers,
9241
9259
Glenn Maynard,
9242
9260
Graham Klyne,
9243
9261
Gregory Terzian,
9262
+ Guohui Deng(邓国辉)<!-- guohuideng2024; GitHub -->,
9244
9263
Hal Lockhart,
9245
9264
Hallvord R. M. Steen,
9246
9265
Harris Hancock,
0 commit comments