[Webkit-unassigned] [Bug 26572] New: MIME type warning when some files read from cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 20 05:47:23 PDT 2009


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

           Summary: MIME type warning when some files read from cache
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: james at wheare.org


Here are some headers:

==========

GET /static/playdar.js HTTP/1.1
Accept: */*
Cache-Control: no-cache
Pragma: no-cache

HTTP/1.1 200 OK
Date: Sat, 20 Jun 2009 12:31:40 GMT
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7l DAV/2 PHP/5.2.8
mod_fastcgi/2.4.2
Last-Modified: Sat, 20 Jun 2009 12:14:32 GMT
Etag: "e0b6011-11ba0-46cc6955bfa00"
Accept-Ranges: bytes
Content-Length: 72608
Connection: close
Content-Type: application/javascript

==========

GET /static/playdar.js HTTP/1.1
Accept: */*
Cache-Control: max-age=0
If-Modified-Since: Sat, 20 Jun 2009 12:14:32 GMT
If-None-Match: "e0b6011-11ba0-46cc6955bfa00"

HTTP/1.1 304 Not Modified
Date: Sat, 20 Jun 2009 12:31:32 GMT
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7l DAV/2 PHP/5.2.8
mod_fastcgi/2.4.2
Connection: close
Etag: "e0b6011-11ba0-46cc6955bfa00"

==========

With the first request, the MIME type is correctly identified as javascript,
but with the second, the server returns 304 Not Modified and the browsers uses
its cached file, but fails to interpret the MIME type of the file stored in
cache. Web Inspector shows this warning:

(!) Resource interpreted as other but transferred with MIME type
application/x-javascript.


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