使用PHP脚本下载时出现网络故障

时间:2018-07-19 14:44:10

标签: php file download

我在chrome中收到网络故障消息,但正在使用php下载脚本在其他浏览器上工作。

我将以下标题设置为下载。

cache-control: must-revalidate, post-check=0, pre-check=0
content-disposition: attachment; filename="export.csv"
content-length: 388436
content-type: application/octet-stream
date: Thu, 19 Jul 2018 13:41:02 GMT
expires: Wed, 19 Jul 2017 13:40:59 GMT
last-modified: Thu, 19 Jul 2018 13:41:02 GMT
pragma: public
server: nginx
set-cookie: admin=p5t1vd4e4u3j9g6gto5h046ki0; path=/admin; domain=xyz.com; secure; HttpOnly
status: 200
x-powered-by: PHP/7.0.29

我在Chrome版本67.3396.99中遇到错误

0 个答案:

没有答案