【发布时间】:2021-07-20 00:01:21
【问题描述】:
基本上,我试图从 HTTP 触发的 azure 函数获取 excel 作为响应
response = func.HttpResponse(data, mimetype='application/vnd.ms-excel')
response['Content-Disposition'] = 'attachment; filename="test.xlsx"'
return response
但是 Content -Disposition 没有标头
【问题讨论】:
标签: python-3.x azure azure-functions xlsx azure-http-trigger