Re: comments on draft-barth-mime-sniffing

Boris Zbarsky wrote:
> Jamie Lokier wrote:
> >Am I right that the Content-Type merely says the type of the container
> >format, and says nothing about the format of encoded video(s) within?
> 
> I believe this is correct.  Certainly the MIME type Gecko looks for 
> where video is concerned is video/ogg or application/ogg.
> 
> I would hope that container formats define how to figure out the types 
> of media streams they contain.  If they don't, then that's unfortunate....

There's always a way to find out the subtypes, of course, but it can
be quite complicated.

E.g. the unix "file" command does not try, because it's more
complicated than a fixed header in the file.

-- Jamie

Received on Monday, 8 June 2009 02:57:43 UTC