GoCMS
GoCMS copied to clipboard
HeaderFilter 引发的错误
我不相信,只有我才碰到这样的问题,难道大家只是看看而已吗?
HeaderFilter 里有这2句代码: c.Response.Out.Header().Add("X-Content-Type-Options", "nosniff") c.Response.Out.Header().Add("Content-Type", "text/html; charset=utf-8")
加上这句话,难道不会引起浏览器对js等文件MIME 检测吗?