newLISP Fan Club

Forum => newLISP newS => Topic started by: itistoday on September 06, 2008, 03:03:38 PM

Title: newlisp bug: -http mode transfers wrong MIME types
Post by: itistoday on September 06, 2008, 03:03:38 PM
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



and



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

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



Firefox won't load the CSS file (and probably ignores the javascript too) because of this...
Title:
Post by: Lutz on September 06, 2008, 03:39:49 PM
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
Title:
Post by: itistoday on September 06, 2008, 03:44:15 PM
Thanks a bunch! :-D