【发布时间】:2014-01-10 06:16:17
【问题描述】:
我看到 Azure 在其 api 版本 3.0 中发布了 blob 的 ContentDisposition 属性:http://msdn.microsoft.com/en-us/library/windowsazure/microsoft.windowsazure.storage.blob.blobproperties.contentdisposition(v=azure.10).aspx。我已经在现有的 blob 上设置了该属性,但是在下载它们时,响应中不包含 content-disposition 标头。
我已经验证,当我从 Azure 获取该 Blob 的属性时,ContentDisposition 属性实际上已被填充。
在使用 SAS 时确实有效,但在没有 SAS 的情况下下载文件时无效。
如果有人有见解,请告诉我。
【问题讨论】: