Resource interpreted as Document but transferred with MIME type application/zip

后端 未结 18 2378
不思量自难忘°
不思量自难忘° 2020-11-27 10:54

With Chrome 12.0.742.112, if I redirect with the following headers:

HTTP/1.1 302 Found 
Location: http://0.0.0.0:3000/files/download.zip
Content-Type: text/h         


        
18条回答
  •  悲&欢浪女
    2020-11-27 11:34

    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.

提交回复
热议问题