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

Re: Questions about draft-abarth-mime-sniff-00

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 06 Apr 2009 23:05:27 +0200
To: "Adam Barth" <w3c@adambarth.com>
Cc: "Lisa Dusseault" <lisa.dusseault@messagingarchitects.com>, "HTTP Working Group" <ietf-http-wg@w3.org>
Message-ID: <op.urzgvdmk64w2qv@annevk-t60.oslo.opera.com>
On Mon, 06 Apr 2009 23:01:34 +0200, Adam Barth <w3c@adambarth.com> wrote:
> On Mon, Apr 6, 2009 at 1:17 PM, Anne van Kesteren <annevk@opera.com>  
> wrote:
>> I sort of expect <video src> and <audio src> to do sniffing as well
>> (ignoring Content-Type altogether most likely). @font-face ignores
>> Content-Type as well because nobody had registered media types for  
>> fonts.
>> This is context-specific sniffing though.
>
> That's a good point.  I'll look into how the forthcoming
> implementations of these features work.  I suspect we'll have to treat
> the context-specific cases that ignore the media type altogether
> separately anyhow.

Agreed.

There's also mixed cases. E.g. for <img>/background-image/etc. I believe  
Opera first does a check if the Content-Type is image/svg+xml and then  
falls back to sniffing. (I haven't tested this extensively, but I believe  
this is what UAs should do for getting SVG support there.)


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Monday, 6 April 2009 21:06:22 UTC

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