- From: Anne van Kesteren <annevk@opera.com>
- Date: Tue, 22 May 2007 10:44:12 +0200
For compatibility with the web it seems important to simply ignore Content-Type in all modes. Firefox has some hack where they "respect" Content-Type in standards mode except when the response Content-Type doesn't contain a "/" or "\". For instance Content-Type: "null" would be applied. Internet Explorer doesn't respect Content-Type at all either. However, it does respect HTTP status codes. So redirects are followed and responses with status codes that indicate some type of error (404, 410, 501, etc.) are not parsed as style sheets. Anything that ends up with a status code of 200 that is fetched from a "style sheet loader" (<link rel=stylesheet>, @import) is parsed and applied. It would be nice if the specification said something along those lines. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Tuesday, 22 May 2007 01:44:12 UTC