W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2008

[whatwg] Handling of HTTP response codes for <embed>, was: <embed> feedback

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 24 Jul 2008 10:27:03 +0200
Message-ID: <48883CD7.3050901@gmx.de>
Ian Hickson wrote:
> ...
> On Sun, 7 May 2006, Simon Pieters wrote:
>>> I think for <img> you want to only support image/* types (e.g. not 
>>> text/plain or text/html, not sure about image/svg+xml either, since 
>>> there is no difference between that and application/xhtml+xml); and 
>>> you want to only show them for 200 (or 301-200).
>>> [...]
>>> For <embed> you want to show only things that require plugins, and 
>>> only if they have 200 (or 301-200) responses.
>> The only browser to my knowledge that only support 200 (or 301-200) 
>> responses for <img> and <embed> is IE5/Mac. Safari, Opera, Mozilla and 
>> IE all load the resourse for <img> and <embed> regardless of the 
>> response. (In the real world it works fine because error responses are 
>> normally text/html.)
> This is now what <img> and <embed> say.
> ...

That doesn't sound good. Is there any research on for how much of the 
consisting content this is needed?

BR, Julian
Received on Thursday, 24 July 2008 01:27:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:03 UTC