From cd1f770a3be5cc3f1c6607a269b2e18fd026e2e1 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Mon, 16 May 2022 15:17:49 -0700 Subject: [PATCH] Redo the change that was reverted by #15853 --- .../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 7394b9f0933..517a5960cc6 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 @@ internal virtual HttpResponseMessage GetResponse(HttpClient client, HttpRequestM WebCmdletStrings.WebMethodInvocationVerboseMsg, requestWithoutRange.Version, requestWithoutRange.Method, - requestWithoutRange.RequestUri, requestContentLength); WriteVerbose(reqVerboseMsg); @@ -1534,7 +1533,6 @@ protected override void ProcessRecord() 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 8ba25baff18..976ec531e25 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.