response = make_response('文件二进制') response.headers["Content-Disposition"] = "attachment; filename=%s" % file_name response.headers["Content-type"] = "text/csv" response.headers["access-control-expose-headers"] = "Content-disposition" return response
response = make_response('文件二进制') response.headers["Content-Disposition"] = "attachment; filename=%s" % file_name response.headers["Content-type"] = "text/csv" response.headers["access-control-expose-headers"] = "Content-disposition" return response