From 391e0806ec862880aa04080764431aa3cc157852 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Tue, 17 May 2022 09:51:42 -0700 Subject: [PATCH] Redo the change that was reverted by #15853 (#17357) --- .../utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs | 2 -- .../resources/WebCmdletStrings.resx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs index 7394b9f093..517a5960cc 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs @@ -1438,7 +1438,6 @@ namespace Microsoft.PowerShell.Commands WebCmdletStrings.WebMethodInvocationVerboseMsg, requestWithoutRange.Version, requestWithoutRange.Method, - requestWithoutRange.RequestUri, requestContentLength); WriteVerbose(reqVerboseMsg); @@ -1534,7 +1533,6 @@ namespace Microsoft.PowerShell.Commands WebCmdletStrings.WebMethodInvocationVerboseMsg, request.Version, request.Method, - request.RequestUri, requestContentLength); WriteVerbose(reqVerboseMsg); diff --git a/src/Microsoft.PowerShell.Commands.Utility/resources/WebCmdletStrings.resx b/src/Microsoft.PowerShell.Commands.Utility/resources/WebCmdletStrings.resx index 8ba25baff1..976ec531e2 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/resources/WebCmdletStrings.resx +++ b/src/Microsoft.PowerShell.Commands.Utility/resources/WebCmdletStrings.resx @@ -247,7 +247,7 @@ Following rel link {0} - HTTP/{0} {1} {2} with {3}-byte payload + HTTP/{0} {1} with {2}-byte payload The remote server indicated it could not resume downloading. The local file will be overwritten.