-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[BUG] ContentRange is null in BlobDownloadDetails when calling DownloadStreamingAsync with HttpRange "0-" #47882
Copy link
Copy link
Closed
Labels
ClientThis issue is related to a non-management packageThis issue is related to a non-management packageService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Metadata
Metadata
Assignees
Labels
ClientThis issue is related to a non-management packageThis issue is related to a non-management packageService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.Storage.Blobs 12.23.0
Describe the bug
The ContentRange field in the BlobDownloadDetails that is returned when calling DownloadStreamingAsync with Range set to "0-" is null.
Expected behavior
ContentRange should be set to "bytes 0-end/length" the same when calling the same methods with a Range of "1-" ContentRange is set to "bytes 1-end/length"
Actual behavior
ContentRange is null
Reproduction Steps
BlobContainerClient containerClient = new ( connString, containerName );
BlobClient blobClient = containerClient.GetBlobClient( objectKey );
Response downloadFromStart = await blobClient.DownloadStreamingAsync(new BlobDownloadOptions(){
Range = new HttpRange( 0 )
});
Console.WriteLine( downloadFromStart.Value.Details.ContentRange );
Environment
No response