原文:对于错误“Refused to execute script from '...' because its MIME type ('') is not executable, and strict MIME type checking is enabled.”的处理。

今天在是用公司的报表插件Stimulsoft时发现的问题。之前可以正常使用,突然不能加载了。查看发现得到这个错误。 查看请求头 可以看到,请求正常响应,但是发现 Content Type是空的,但是引入了X Content Type Options。 X Content Type Options响应首部相当于一个提示标志,被服务器用来提示客户端一定要遵循在Content Type首部中对MIME ...

2018-04-11 17:35 0 7300 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM