由于MIME类型不匹配,功能被阻止(X-Content-Type-Options:nosniff) [英] Function was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff)

查看:2182
本文介绍了由于MIME类型不匹配,功能被阻止(X-Content-Type-Options:nosniff)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的网站上使用Quick.gallery( http://quick.gallery )脚本,但我我用Firebug得到一些错误:

I'm using Quick.gallery (http://quick.gallery) script on my website but I'm getting some erros with Firebug:

当我尝试访问 http://www.portaloficial.com.br/fotos.php ,Firebug向我展示了一些错误,例如js = js_viewer因MIME类型不匹配而被阻止(X-Content-Type-Options) :nosniff)。

When I try to access http://www.portaloficial.com.br/fotos.php, Firebug show me some erros like "js=js_viewer was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff)."

有人可以帮我吗?

推荐答案

<我以前遇到过这个问题,当我引用错误的URL时,因此内容类型html的原因是,我实际上有一个HTTP 404错误页面。

I had this issue before, when I was referencing a mistyped URL, so the reason for content-type html was, that I actually got a HTTP 404 error page.

这篇关于由于MIME类型不匹配,功能被阻止(X-Content-Type-Options:nosniff)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆