Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Firefox 中,您可以从右键菜单中选择“查看页面信息”,然后会显示 mime 类型。
但是 Chrome 中相同的“查看页面信息”命令不显示 mime 类型。
感觉就像我忽略了一些明显的东西。
早期和更高版本的 Chrome 可能略有不同
铬 v50.0.2661.102 米
打开 Chromes 开发者工具(几个选项):
Ctrl + Shift + I
F12
打开后,选择Network选项卡,在左侧选择资源的名称,然后点击Headers选项卡。在响应标头下找到您的 mime 类型的Content-Type 。
使用图像,您可以选择“预览”选项卡,您将能够看到有关资源的一些信息,包括位于开发人员窗口底部的 mime 类型。
点击F12然后转到网络选项卡。如果您想要 html 文档,则将过滤器缩小到 Documents(在底部)。