@@ -370,6 +370,8 @@ following <a for=struct>items</a>: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
370370 <dd> A number.
371371 <dt> <dfn export for="response body info">content type</dfn> (default the empty string)
372372 <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> .
373375</dl>
374376
375377<div algorithm>
@@ -6371,6 +6373,22 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
63716373 <li><p> Let <var> codings</var> be the result of <a>extracting header list values</a> given
63726374 `<code> Content-Encoding</code> ` and <var> response</var> 's <a for=response>header list</a> .
63736375
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+
63746392 <li><p> Increase <var> response</var> 's <a for=response>body info</a>' s
63756393 <a for="response body info">encoded size</a> by <var> bytes</var> 's
63766394 <a for="byte sequence">length</a> .
@@ -9180,6 +9198,7 @@ Gavin Carothers,
91809198Glenn Maynard,
91819199Graham Klyne,
91829200Gregory Terzian,
9201+ Guohui Deng(邓国辉)<!-- guohuideng2024; GitHub -->,
91839202Hal Lockhart,
91849203Hallvord R. M. Steen,
91859204Harris Hancock,
0 commit comments