Safari reports 304 responses as missing Content-Type
Closed this issue · 1 comments
GoogleCodeExporter commented
Minify version: '2.1.4';
PHP version: 5.2.12
What steps will reproduce the problem?
1. Start Safari 5.0.2
2. Empty cache or disable cache
3. Show webinfo window (developer tools)
4. Open source files and enable profiling
5. Open http://crashplan.probackup.nl/
Expected output:
No warnings
Actual output:
Warning: Source file interpreted as stylesheet, but transferred with MIME type
text/html [g=css&0]
Did any unit tests FAIL? (Please do not post the full list)
No
Original issue reported on code.google.com by i...@crashplan.nl
on 17 Nov 2010 at 9:07
GoogleCodeExporter commented
I think this is a bug in Safari's console. Content-Type isn't required on 304
responses (Minify doesn't include it), but Safari seems to think it is.
Headers are sent correctly in 200 responses, too:
http://redbot.org/?uri=http%3A%2F%2Fcrashplan.probackup.nl%2Fmin%2Fg%3Dcss%260
Original comment by mrclay....@gmail.com
on 17 Nov 2010 at 10:06
- Changed title: Safari reports 304 responses as missing Content-Type
- Changed state: Invalid