开发者社区 问答 正文

有关favicon.ico的显示


为什么传回来的是screenshot

本地写成同样的代码
screenshot

展开
收起
杨冬芳 2016-06-20 16:04:23 3098 分享 版权
1 条回答
写回答
取消 提交回答
  • IT从业

    screenshot
    HTTP 204(no content) 表示响应执行成功,但没有数据返回,浏览器不用刷新,不用导向新页面。

    http://www.netingcn.com/http-status-204.html

    然后不明白为什么 type 类型变了,从 type="image/x-icon" 变成 text/plain,平时基本不写这个 type

    2019-07-17 19:44:16
    赞同 展开评论
问答地址: