Re: Revisiting Authoritative Metadata

Anne van Kesteren wrote:
> 
> Actually, <img> always sniffs and does not do so based on the file
> extension (that would be so wrong), but rather the file signature
> which every image format includes, except for SVG, which is hardcoded
> to look at the Content-Type header instead...
> 

Which is all fine and dandy if you have the context of the <img> tag,
i.e. you're coding a browser.  But, what about other components like
caches?  How would they even know to use a binary sniffer, without
the foreknowledge provided by the <img> tag?  Much better for the
sender to explicitly indicate the payload's codec.

-Eric

Received on Tuesday, 26 February 2013 01:04:02 UTC