diff --git a/fetch.bs b/fetch.bs old mode 100644 new mode 100755 index 4b1f0c2ca..0be821c03 --- 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,22 @@ 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 or failure, then set filteredCoding to + the empty string. + +

  • Otherwise, if codings's size is greater than 1, then set + filteredCoding to "multiple". + +

  • Otherwise, if codings[0] is the empty string, or it is supported by the + user agent, and is a byte-case-insensitive match for an entry listed in the + HTTP Content Coding Registry, then set filteredCoding to the result + of byte-lowercasing codings[0]. [[!IANA-HTTP-PARAMS]] + +

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

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