Re: [whatwg/fetch] More CORB-protected MIME types - safelist-based approach (#721)

I created https://github.com/annevk/orb to flush out the idea above more concretely. The challenges to me seem:

1. Range requests. I'm not confident the current model works with redirects and such. Or are they not allowed? Maintaining a requesters set is also not great.
2. One of the last steps:
   > If response's body parses as JavaScript and does not parse as JSON, then return true.
   
   Perhaps waiting for and parsing the complete response is fine as it only affects a small number of responses (and maybe there are ways to further bring that number down), but I'm not sure if that's acceptable to all.

Thoughts on those more than appreciated!

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

Received on Tuesday, 11 February 2020 10:33:14 UTC