newlisp bug: -http mode transfers wrong MIME types

Notices and updates
Locked
itistoday
Posts: 429
Joined: Sun Dec 02, 2007 5:10 pm
Contact:

newlisp bug: -http mode transfers wrong MIME types

Post by 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

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...
Get your Objective newLISP groove on.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

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/newlis ... #http_mode

itistoday
Posts: 429
Joined: Sun Dec 02, 2007 5:10 pm
Contact:

Post by itistoday »

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

Locked