Re: [fetch] Handling of data URLs (#111)

Why does this require special casing of data: URLs?

It seems to me like the principled thing is that data: can be loaded anywhere you load things, but defaults to CORS-cross-origin unless opted in otherwise by the caller.  That should make the opaque response here automatic, no?

And of course a bunch of the platform needs to opt in to data: being considered CORS-same-origin.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/111#issuecomment-144092931

Received on Tuesday, 29 September 2015 15:23:14 UTC