ngx.header["Content-Type"]="charset=UTF-8"
ngx.header["Content-disposition"]="attachment;filename="..ngx.escape_uri(fileName)
openresty set the file name to download
Guess you like
Origin www.cnblogs.com/frankltf/p/12586501.html
Ranking