[whatwg] Video with MIME type application/octet-stream
bzbarsky at MIT.EDU
Tue Sep 7 06:06:46 PDT 2010
On 9/7/10 9:03 AM, Philip Jägenstedt wrote:
> On Tue, 07 Sep 2010 14:54:15 +0200, Boris Zbarsky <bzbarsky at mit.edu> wrote:
>> On 9/7/10 6:52 AM, Philip Jägenstedt wrote:
>>> It hasn't been explicitly stated, but I assume that the only cases where
>>> sniffing for video formats would be employed would be for missing
>>> Content-Type, text/plain and application/octet-stream.
>> That's not what at least Aryeh is proposing, no. Also not what at
>> least some of the browsers implement.
> Oops, I was talking about top-level contexts here. In a <video> context,
> always ignoring the Content-Type and always sniffing is the most sane
> solution (apart from always respecting Content-Type).
Yes, the suggestion Aryeh is making is that toplevel contexts should use
the same sniffing algorithm as the <video> context and should sniff
everything for video, completely ignoring the Content-Type header.
More information about the whatwg