Skip to content

Commit d22bdfb

Browse files
TransferEncodingChunked = false
1 parent 4fda114 commit d22bdfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NuGet.Core/NuGet.Protocol/Resources/PackageUpdateResource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ private HttpRequestMessage CreateRequest(
551551

552552
// Send the data in chunks so that it can be canceled if auth fails.
553553
// Otherwise the whole package needs to be sent to the server before the PUT fails.
554-
request.Headers.TransferEncodingChunked = true;
554+
request.Headers.TransferEncodingChunked = false;
555555

556556
if (hasApiKey)
557557
{

0 commit comments

Comments
 (0)