文件下载设置二进制
parent
7c29da88f5
commit
75dd49857e
|
|
@ -205,7 +205,7 @@ class Qrcode
|
|||
header('Expires: 0');
|
||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
||||
header('Cache-Control: private',false);
|
||||
header('Content-Type: application/force-download');
|
||||
header('Content-Type: application/octet-stream;charset=utf-8');
|
||||
header('Content-Disposition: attachment; filename="'.$filename.'"');
|
||||
header('Content-Transfer-Encoding: binary');
|
||||
header('Connection: close');
|
||||
|
|
|
|||
Loading…
Reference in New Issue