资源解释为文档,但用MIME类型应用程序/ ZIP传输

Uwe KeimAshley Williams提出了一个问题:Resource interpreted as Document but transferred with MIME type application/zip,或许与您遇到的问题类似。

回答者Ashley Williams给出了该问题的处理方式:

I've fixed this…by simply opening a new tab.

Why it wasn't working I'm not entirely sure, but it could have something to do with how Chrome deals with multiple downloads on a page, perhaps it thought they were spam and just ignored them.

希望本文对你有帮助,欢迎支持JavaScript中文网

原文链接:stackoverflow.com

上一篇:custom-guider
下一篇:PhantomJS不等待“全”页面加载

相关推荐

公众号

欢迎 JavaScript 爱好者