[whatwg] Video with MIME type application/octet-stream

On 9/1/10 4:12 AM, Philip J?genstedt wrote:
> If we start ignoring the Content-Type I expect we would also add
> sniffing so that opening a video served with the wrong (or missing)
> Content-Type still works in a top-level browsing context, as it does for
> images (I think).

It can't possibly work for images.  If I send a file as text/html, and 
you load it from an <img> then you will render it as an image (possibly 
a broken one).  If you load it from a toplevel browsing context you will 
render it as text/html, even if it's image data (where "you" possibly 
excludes IE/Windows, which will do some sniffing in that situation).

-Boris

Received on Wednesday, 1 September 2010 06:14:10 UTC