Do HTTP RANGE headers work with Azure Blob Storage Shared Access Signatures?

前端 未结 4 535
礼貌的吻别
礼貌的吻别 2020-12-31 18:35

I\'m using Azure Blob Storage to store media files and providing access to these files using Shared Access Signatures; everything is working well in this regard.

How

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-31 19:20

    I reached out to some members of the product team and was given the following...

    The 200 vs 206 is due to the presents of the "-I" flag in the curl command. This results in a HEAD request instead of a GET which is essentially as "get blob properties" call instead of a "get blob" which will cause the range header to be ignored. Also be sure to specify the version headers as "x-ms-version:2011-08-18" or later since the "startByte-" range format was only supported on that version of later.

    For more information on range headers, see: http://msdn.microsoft.com/en-us/library/windowsazure/ee691967.aspx

提交回复
热议问题