w3c / web-share-target

Web API proposal for receiving shared data
https://w3c.github.io/web-share-target/
Other
191 stars 20 forks source link

Associate file extensions and MIME types #83

Open ewilligers opened 5 years ago

ewilligers commented 5 years ago

An implementation may associate a file extension with a MIME type. In this case, it is sufficient for a manifest to only contain the file extension, even if the implementation only supports filtering on MIME types.

Similarly, an implementation may associate a MIME type with one or more file extensions. In this case, it is sufficient for a manifest to only contain a MIME type (optionally with wildcard subtype), even if the implementation only supports filtering of file extensions.


Preview | Diff