Re: [whatwg/fetch] Return a `content-encoding` header for resource timing and more (PR #1796)

annevk left a comment (whatwg/fetch#1796)

I think there's a couple of problems here still:

1. "extracting header list values" is not a well-defined algorithm and I doubt it's interoperable. So just taking its return value and exposing it without it being fixed seems problematic.
2. The return values are not filtered. This creates a new communication channel. That's why we added minimized the set of MIME types exposed: https://mimesniff.spec.whatwg.org/#minimize-a-supported-mime-type
3. The tests don't match what is specified, e.g., 'Unrecognized content encoding value should be transformed to "unknown".' is not specified here.

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

Message ID: <whatwg/fetch/pull/1796/c2687950506@github.com>

Received on Thursday, 27 February 2025 13:22:32 UTC