httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30278] - mod_disk_cache breakes Content-Type for .css files
Date Wed, 04 Aug 2004 21:43:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30278>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30278

mod_disk_cache breakes Content-Type for .css files





------- Additional Comments From igor@fedulov.com  2004-08-04 21:43 -------
I've tested this patch and it works perfectly. After either image or .css file
is cached headers contain proper Content-Type thus allowing for proper display
in strict HTML validating browsers! Thanks!

Here is the output from the original wget commands:

1. First request for a resource:
16:36:57 (328.88 KB/s) - `common.css' saved [10440/10440]
 
HTTP/1.1 200 OK
Date: Wed, 04 Aug 2004 21:36:56 GMT
Server: Apache/2.0.50 (Fedora)
Content-Length: 10440
Last-Modified: Fri, 23 Jul 2004 12:56:12 GMT
Accept-Ranges: bytes
Content-Type: text/css
Vary: Accept-Encoding,User-Agent
Keep-Alive: timeout=30, max=100
Connection: Keep-Alive

2. Next request for the same resource:
16:36:59 (463.42 KB/s) - `common.css' saved [10440/10440]
 
HTTP/1.1 200 OK
Date: Wed, 04 Aug 2004 21:36:59 GMT
Server: Apache/2.0.50 (Fedora)
Accept-Ranges: bytes
Content-Length: 10440
Last-Modified: Fri, 23 Jul 2004 12:56:12 GMT
Content-Type: text/css
Age: 4
Keep-Alive: timeout=30, max=100
Connection: Keep-Alive

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message