Re: [whatwg/fetch] Add algorithm to extract an encoding from a MIME type (PR #1447)

@domenic approved this pull request.

At first I thought this might belong better in mimesniff but if it's generally meant to be used with "extract a MIME type" then here makes sense.

> @@ -3491,6 +3491,30 @@ Content-Type:
  </table>
 </div>
 
+<p>To <dfn export>legacy extract an encoding</dfn> given failure or a <a for=/>MIME type</a>
+<var>mimeType</var> and an <a for=/>encoding</a> <var>encoding</var>, run these steps:

encoding -> fallbackEncoding would be a big improvement IMO.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1447#pullrequestreview-992047672
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1447/review/992047672@github.com>

Received on Wednesday, 1 June 2022 14:15:40 UTC