diff --git a/fetch.bs b/fetch.bs index 58579420d..b1096f163 100644 --- a/fetch.bs +++ b/fetch.bs @@ -369,6 +369,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.
@@ -4816,7 +4818,17 @@ steps:
  • If mimeType is not failure, then set bodyInfo's content type to the result of minimizing a supported MIME type given mimeType. - + +

  • Let contentEncoding be the result of + extracting a MIME type from response's + header list. + +

  • Let contentEncodings be the result of extracting header list values given + `Content-Encoding` and response's header list. + +

  • If contentEncoding is not failure, then set bodyInfo's + content encoding to contentEncoding. +

  • If fetchParams's request's initiator type is non-null, then mark resource timing given