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

Boris Zbarsky bzbarsky at MIT.EDU
Wed Sep 1 06:14:10 PDT 2010

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).


More information about the whatwg mailing list