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

@foolip I don't think any browser preserves them at the moment. The way to test it is to fetch the data URL and look at the resulting `Content-Type` header.

Implementations throw away "unknown" parameters. However, for charset:

* Chrome refuses to fetch `;charset=`. `;charset` results in the default MIME type (so also treated as an error of sorts, but different).
* Firefox consistently ignores `;charset=` and  just `;charset`, returning the MIME type without that parameter.

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

Received on Wednesday, 27 September 2017 14:57:55 UTC