w3c / encrypted-media

Encrypted Media Extensions
https://w3c.github.io/encrypted-media/
Other
180 stars 80 forks source link

Fix MIME type handling #559

Open chrisn opened 1 month ago

chrisn commented 1 month ago

See #511. This PR removes the Valid Media MIME Type definition and references mimesniff for "parse a MIME type".

Further work is needed to address #512.


Preview | Diff

chrisn commented 1 month ago

@annevk @joeyparrish How does this look? There may be more we could do to be more precise, e.g., "unrecognized", or how to identify the container type from the MIME type, but for now I've tried to reference mimesniff but without introducing other changes.

chrisn commented 3 weeks ago

It's fine with me if we keep this PR focused on mimesniff and follow-up to clarify "unrecognized" in another PR.

I agree, thanks.