Re: MIME type parameters
Benjamin Smedberg <[email protected]> Wed, 08 Jan 2014 10:26:31 -0500
| Newsgroups | gmane.comp.mozilla.devel.plugins |
|---|---|
| Message-ID | <[email protected]> |
On 1/7/2014 6:38 PM, Jack Bates wrote: > Should nsPluginHost::FindPluginForType() ignore MIME type parameters > when it searches for matching plugins? No. Java registers separate plugins with parameters for e.g. different versions of Java: application/x-java-applet;version=1.1.1 > If not, how do you write a plugin that matches all values of a MIME > type parameter? I'm pretty sure that this is not supported. > > The <object type=... attribute "matches the media-type rule defined in > section 3.7 "Media Types" of RFC 2616. In particular, a valid MIME > type may include MIME type parameters." > > https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object > > So should the MIME type parameters be ignored when trying to find the > plugin for e.g. > <object type=application/basic-example-plugin;foo=bar;baz=qux>? > _______________________________________________ > dev-tech-plugins mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-plugins