B4J Question [WebApp] Websocket and MIME-Type

Kiffi

Well-Known Member
Licensed User
Longtime User
Hello,

i noticed, that my Chrome-Console reported this one:


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
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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…