golang静态资源服务器(http2,https),前端无法正常解析js

q1045243113 · · 1573 次点击
https://github.com/golang/go/issues/24513 `The proposal is to automatically include the X-Content-Type-Options: nosniff header when Content-Type is one of the values known to trigger content sniffing: text/plain, application/octet-stream, application/unknown, unknown/unknown, */* or an invalid value without a slash.` 这个修改要到go1.11才发布,但x/net/http2已经改了,所以现在用go1.10的http会在content-type为text/plain时检查文件内容看实际是否可执行
#14
更多评论
各位大佬请帮忙指点一下, 十分感激
#1
怎么都有没有人回复,是我的问题没有问清楚么
#2