W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2009

Re: comments on draft-barth-mime-sniffing

From: Jamie Lokier <jamie@shareable.org>
Date: Mon, 8 Jun 2009 03:57:10 +0100
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, public-html@w3.org
Message-ID: <20090608025710.GP15426@shareable.org>
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:45 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:19 UTC