newlisp bug: -http mode transfers wrong MIME types

Started by itistoday, September 06, 2008, 03:03:38 PM

Previous topic - Next topic

itistoday

This is a somewhat significant bug as it makes web-development not possible using Firefox (I have to use Safari instead).



Safari picks up the error in its console:



"Resource interpreted as stylesheet but transferred with MIME type text/html."

For http://localhost:8080/css/style.css">http://localhost:8080/css/style.css



and



"Resource interpreted as script but transferred with MIME type text/html."

For http://localhost:8080/js/effects.js">http://localhost:8080/js/effects.js



Firefox won't load the CSS file (and probably ignores the javascript too) because of this...
Get your Objective newLISP groove on.

Lutz

#1
The next version will add the following MIME types:



text/css for .css

application/javascript for .js



for MIME types handled currently see:



http://www.newlisp.org/downloads/newlisp_manual.html#http_mode">http://www.newlisp.org/downloads/newlis ... #http_mode">http://www.newlisp.org/downloads/newlisp_manual.html#http_mode

itistoday

#2
Thanks a bunch! :-D
Get your Objective newLISP groove on.