[Webkit-unassigned] [Bug 24904] Disentangle standards mode CSS type check from content sniffing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 6 23:23:38 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24904


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29292|review?                     |review-
               Flag|                            |




------- Comment #16 from ap at webkit.org  2009-04-06 23:23 PDT -------
(From update of attachment 29292)
> +    String mimeType = response().httpHeaderField("Content-Type");
>      return mimeType.isEmpty() || equalIgnoringCase(mimeType, "text/css") || equalIgnoringCase(mimeType, "application/x-unknown-content-type");

This won't allow e.g. "text/css; charset=utf-8". We have an
extractMIMETypeFromMediaType() method to extract the MIME type from header
value.

By the way, could you please provide some examples of sites that serve CSS
resources without a Content-Type header? I'm surprised that there is a number
of those.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list