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

Most of this is about the MIME type. The only spaces that are dropped are within base64-bodies. And determining it's a base64 body depends on how we parse MIME types. MIME types is step 9-16 basically, give or take. I can't just drop that.

I've reached out to @bzbarsky to see if he can help set a direction. My personal take is that we should parse MIME types here (and serialize them on output). But rather than dropping unknown parameters as Chrome and Firefox do, we preserve them (except for base64, assuming we can treat that as a parameter of sorts). Not preserving them doesn't seem good enough for a generic utility like `data:` URLs.

-- 
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-328098465

Received on Friday, 8 September 2017 13:08:32 UTC