Re: [whatwg/fetch] Pass in content type to resource-timing (PR #1481)

@abinpaul1 I think we could add a `minimizedMIMEType` member. In particular for https://github.com/web-platform-tests/wpt/blob/master/mimesniff/mime-types/resources/mime-types.json that seems good. But there need to be new tests as well, yes. It might well make sense to create a JSON resource specifically for inputs and outputs of the minimized algorithm.

For types that fall into the "is supported by" conditional, I suggest we stick with types we know all browsers implement. And keep types that are in the process of being standardized/implemented in a tentative file or some such.

Also, did we have cross-origin tests already? If not we probably should have some as well, even if only for images and scripts or some such.

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

Message ID: <whatwg/fetch/pull/1481/c1535716753@github.com>

Received on Friday, 5 May 2023 05:29:03 UTC