diff --git a/fetch.bs b/fetch.bs old mode 100644 new mode 100755 index 4b1f0c2ca..10e3d875d --- a/fetch.bs +++ b/fetch.bs @@ -370,6 +370,8 @@ following items: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
A number.
content type (default the empty string)
An ASCII string. +
content encoding (default the empty string) +
An ASCII string.
@@ -6319,6 +6321,24 @@ optional boolean forceNewConnection (default false), run these steps:
  • Let codings be the result of extracting header list values given `Content-Encoding` and response's header list. +

  • Let filteredCoding be "unknown". + +

  • If codings is null, set filteredCoding to the empty string. + +

  • Otherwise, if codings contains two strings or more, set filteredCoding to + "multiple". + +

  • Otherwise, if codings[0] is the empty string, or it is supported by the user agent, + and is listed in the + content encoding registry on IANA, set filteredCoding to codings[0]. + +

    + "identity" is never supported as a coding. See details + here. + +

  • Set response's body info's + content encoding to filteredCoding. +

  • Increase response's body info's encoded size by bytes's length. @@ -9128,6 +9148,7 @@ Gavin Carothers, Glenn Maynard, Graham Klyne, Gregory Terzian, +Guohui Deng(邓国辉), Hal Lockhart, Hallvord R. M. Steen, Harris Hancock,