Chrome说:“资源解释为文档,但是使用MIME类型应用程序/ vnd.openxmlformats-officedocument.wordprocessingml.document”传输 [英] Chrome says: "Resource interpreted as Document but transferred with MIME type application/vnd.openxmlformats-officedocument.wordprocessingml.document"

查看:4272
本文介绍了Chrome说:“资源解释为文档,但是使用MIME类型应用程序/ vnd.openxmlformats-officedocument.wordprocessingml.document”传输的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在提供一个从我的网站下载的文件,这是正常的。但是,我注意到Chrome的这种行为。



我认为我有正确的MIME类型设置,但Chrome显示此消息,并将请求标记为红色。 p>

我设置的MIME类型是:



application / vnd.openxmlformats-officedocument。 wordprocessingml.document



这是 *。docx 文件的预期行为吗?看来我可能会做错事。



解决方案

不要担心Chrome警告。
您正在使用.docx文件的有效MIME类型。


I am offering a file for download from my site, which is working. However, I am noticing this behavior from Chrome.

I think I have the correct MIME Type set but Chrome is showing this message and also marks the request in red.

The MIME type I have set is:

application/vnd.openxmlformats-officedocument.wordprocessingml.document

Is this the expected behavior for *.docx files? It seems like I may be doing something wrong.

解决方案

Don't worry about the Chrome warning. You are using a valid MIME Type for .docx files.

这篇关于Chrome说:“资源解释为文档,但是使用MIME类型应用程序/ vnd.openxmlformats-officedocument.wordprocessingml.document”传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆