Kiffi Well-Known Member Licensed User Longtime User May 6, 2014 #1 Hello, i noticed, that my Chrome-Console reported this one: Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://localhost:51234/libraries/w2ui/w2ui-1.3.2.min.css". index.html:12 Resource interpreted as Script but transferred with MIME type text/plain: "http://localhost:51234/b4j_ws.js". index.html:16 Resource interpreted as Script but transferred with MIME type text/plain: "http://localhost:51234/libraries/w2ui/w2ui-1.3.2.min.js". index.html:13 Click to expand... I have ignored this, because in Chrome (and Firefox) everything seems to be correct. But Internet Explorer V11 refuses loading the CSS-File because of MIME-Typeconflict (SEC7113). Therefore the page is not displayed correctly Is there a way to set the MIME-Type? Thanks in advance & Greetings ... Peter
Hello, i noticed, that my Chrome-Console reported this one: Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://localhost:51234/libraries/w2ui/w2ui-1.3.2.min.css". index.html:12 Resource interpreted as Script but transferred with MIME type text/plain: "http://localhost:51234/b4j_ws.js". index.html:16 Resource interpreted as Script but transferred with MIME type text/plain: "http://localhost:51234/libraries/w2ui/w2ui-1.3.2.min.js". index.html:13 Click to expand... I have ignored this, because in Chrome (and Firefox) everything seems to be correct. But Internet Explorer V11 refuses loading the CSS-File because of MIME-Typeconflict (SEC7113). Therefore the page is not displayed correctly Is there a way to set the MIME-Type? Thanks in advance & Greetings ... Peter
Erel B4X founder Staff member Licensed User Longtime User May 7, 2014 #2 It is fixed for the next version. You can try it online: http://basic4ppc.com:51042/dbutils/index.html (make sure to hard refresh the page). You can fix it now. Copy the attached file (mime.properties) and put it inside jetty_b4j.jar. It should be located in: org\eclipse\jetty\http\ Attachments mime.zip 1.5 KB · Views: 323 Upvote 0
It is fixed for the next version. You can try it online: http://basic4ppc.com:51042/dbutils/index.html (make sure to hard refresh the page). You can fix it now. Copy the attached file (mime.properties) and put it inside jetty_b4j.jar. It should be located in: org\eclipse\jetty\http\
Kiffi Well-Known Member Licensed User Longtime User May 7, 2014 #3 Very cool! Thanks a lot! Greetings ... Peter Upvote 0