【发布时间】:2010-12-01 10:48:30
【问题描述】:
如果服务器不发送 content-type 标头,浏览器如何判断他得到了哪种内容?例如,当我使用 chrome 获得 SO logo 时,图像是完整的,尽管服务器没有说明它的扩展名(至少,明确地)
【问题讨论】:
-
对于它的价值,您链接的 SO 徽标在这里带有
Content-Type: image/png标题。 -
好吧,httpdebuggerpro 没有向我展示这个
标签: http content-type