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

Safari treats `data:text/plain;x=';base64,stuf` as base64 by the way. That's a little ugly in a way, but it seems acceptable to just drop ASCII case-insensitive ";base64" from the end and then feed the remainder to a MIME type with parameters parser. ";base64" isn't really a MIME type parameter after all, as those are technically required to contain "=" and a value.

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

Received on Monday, 18 September 2017 16:15:02 UTC