- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 25 Mar 2024 02:22:53 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 25 March 2024 09:22:57 UTC
Yeah, extract a MIME type is an example of modern-style header parsing. I think all things written in terms of https://fetch.spec.whatwg.org/#concept-header-list-get or https://fetch.spec.whatwg.org/#concept-header-list-get-decode-split are good examples. There is a registry for content codings here: https://www.iana.org/assignments/http-parameters/http-parameters.xhtml#content-coding. I'm not sure if we have to acknowledge all of them however. `exi` and `pack200-gzip` don't need to be supported for instance and `x-gzip` can be normalized to `gzip`. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1742#issuecomment-2017547460 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1742/c2017547460@github.com>
Received on Monday, 25 March 2024 09:22:57 UTC