Skip to content

HeaderFilter 引发的错误 #5

Open
@agaolong

Description

@agaolong

我不相信,只有我才碰到这样的问题,难道大家只是看看而已吗?

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 检测吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions