Re: [whatwg/fetch] Define data: URLs (#579)

Checking back in on this, seeing if I can be of service :)

> Preserving unknown parameters. I think this would be much better for a generic URL scheme

Per https://github.com/whatwg/fetch/pull/579#issuecomment-328098465 Firefox already preserves them, so that seems likely to be web compatible. What does Edge do? I was trying things like `new URL('data:text/Plain;foo=bar,pla').toString()` but that can't be the right thing, Chrome also preserves that `foo=bar`.

> Maybe we should just drop parameters that don't have a value?

That or behaving as if they're the empty string seems fine? What do implementations do?

-- 
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/pull/579#issuecomment-332543229

Received on Wednesday, 27 September 2017 14:39:51 UTC