boyofgreen / ManUp.js

ManUp.js is a polyfill to support the Manifest for Web Apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is the manifest+json MIME type actually required?

alexkrolick opened this issue · comments

Do browsers actually check the MIME type if valid JSON is served at the target of the manifest link? Will they start doing so if they don't now?

So far the only implementation out in the wild is chrome, and it does absolutely check the mime type. However, for manup.js we don't actually ckeck it.

Chrome also does not check for the correct MIME type, but is required. You can look it up here: https://w3c.github.io/manifest/#media-type-registration

However, @boyofgreen , the file extension should be .webmanifest and not .json, as you stated in the README :-)
image
(image from the same W3 page as linked above)

cool thanks for the info. I'll update the readme.