原文:對於錯誤“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