Bootstrap Glyphicon字体在Chrome中正确下载和显示,但在Canary中失败 . 为什么?这是 Headers 信息:
On latest Chrome
请求URL:示例com / fonts / bootstrap / glyphicons-halflings-regular.woff2
请求方法:GET
状态代码:200 OK
接受-范围:字节
Cache-Control:public,max-age = 0
连接:保持活跃
内容长度:18028
内容类型:应用程序/ FONT-woff2
日期:星期一,2015年8月17日09:47:56 GMT
ETag的:W / “466c-3862675007”
Last-Modified:Fri,2015年8月14日02:38:31 GMT
服务器:nginx / 1.4.6(Ubuntu)
X-已启动方式:快递
请求 Headers
查看源
接受:/
Accept-Encoding:gzip,deflate,sdch
接受语言:FR-FR,FR; Q = 0.8,EN-US; Q = 0.6,连接; Q = 0.4
授权:基本ZoJhbmTlZjEwMDplemKxMjM =
缓存控制:无缓存
连接:保持活跃
附注:无缓存
Referer:example_com / css / styles.css
User-Agent:Mozilla / 5.0(Windows NT 6.1; WOW64)AppleWebKit / 537.36(KHTML,类似Gecko)Chrome / 44.0.2403.155 Safari / 537.36
On Canary
请求URL:示例com / fonts / bootstrap / glyphicons-halflings-regular.woff2
请求方法:GET
状态码:401未经授权
响应 Headers
查看源
连接:保持活跃
内容长度:605
内容类型:text / html的
日期:星期一,2015年8月17日09:49:10 GMT
服务器:nginx / 1.4.6(Ubuntu)
WWW-Authenticate:Basic realm =“需要登录”
请求 Headers
查看源
接受:/
Accept-Encoding:gzip,deflate,sdch
接受语言:FR-FR,FR; Q = 0.8,EN-US; Q = 0.6,连接; Q = 0.4
缓存控制:无缓存
连接:保持活跃
附注:无缓存
Referer:example_com / css / styles.css
User-Agent:Mozilla / 5.0(Windows NT 6.1; Win64; x64)AppleWebKit / 537.36(KHTML,与Gecko一样)Chrome / 46.0.2484.0 Safari / 537.36