fukamachi / caveman

Lightweight web application framework for Common Lisp.
http://8arrow.org/caveman/
782 stars 63 forks source link

IE9 can not get css #11

Closed mzgcz closed 11 years ago

mzgcz commented 12 years ago

render a static html with css, but in IE9, it say: "SEC7113: CSS was ignored due to mime type mismatch"

fukamachi commented 12 years ago

Thank you for your reporting. This seems a bug of Clack.Middleware.Static. I'll fix it.

mzgcz commented 12 years ago

maybe I find the bug, at file "/clack/src/core/app/file.lisp, in method serve-path, there is more sapce in "~A ;charset=~A", it need to be "~A;charset=~A"

fukamachi commented 11 years ago

Ah, it may fix this, in this case. I have thought I have to change Clack.Middleware.Static to detect file types to return mime-type properly.

Will you send me a pull-req? I don't have IE9, so it takes some time to test this.