Skip to content

Commit 81fb3f8

Browse files
authored
Uploading blob THEN updating its headers. (#10227)
1 parent 5fd7249 commit 81fb3f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NuGet.Services.Storage/AzureStorage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,11 @@ await blob.UploadAsync(
332332
{
333333
using (Stream stream = content.GetContentStream())
334334
{
335-
await blob.SetHttpHeadersAsync(headers);
336335
await blob.UploadAsync(
337336
stream,
338337
options: null,
339338
cancellationToken: cancellationToken);
339+
await blob.SetHttpHeadersAsync(headers);
340340

341341
if (Verbose)
342342
{

0 commit comments

Comments
 (0)