python flask实现文件流下载
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