- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 15 May 2023 07:11:26 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 15 May 2023 14:11:32 UTC
That's great. I think there are two approaches here: 1. Renaming from "MIME type" to "get the MIME type" to add clarity. The concrete classes then continue to define the actual algorithm as they do today. 2. Make it a standalone "get the MIME type" algorithm that takes and branches on a Request/Response object to do the right thing. The standalone algorithm makes the mixin less generic, but that's not necessarily a bad thing I think. And it's probably the most clear. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1630#issuecomment-1547940050 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1630/1547940050@github.com>
Received on Monday, 15 May 2023 14:11:32 UTC