Skip to content

Commit 391e080

Browse files
authored
Redo the change that was reverted by PowerShell#15853 (PowerShell#17357)
1 parent 0b8574d commit 391e080

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,6 @@ internal virtual HttpResponseMessage GetResponse(HttpClient client, HttpRequestM
14381438
WebCmdletStrings.WebMethodInvocationVerboseMsg,
14391439
requestWithoutRange.Version,
14401440
requestWithoutRange.Method,
1441-
requestWithoutRange.RequestUri,
14421441
requestContentLength);
14431442
WriteVerbose(reqVerboseMsg);
14441443

@@ -1534,7 +1533,6 @@ protected override void ProcessRecord()
15341533
WebCmdletStrings.WebMethodInvocationVerboseMsg,
15351534
request.Version,
15361535
request.Method,
1537-
request.RequestUri,
15381536
requestContentLength);
15391537

15401538
WriteVerbose(reqVerboseMsg);

src/Microsoft.PowerShell.Commands.Utility/resources/WebCmdletStrings.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247
<value>Following rel link {0}</value>
248248
</data>
249249
<data name="WebMethodInvocationVerboseMsg" xml:space="preserve">
250-
<value>HTTP/{0} {1} {2} with {3}-byte payload</value>
250+
<value>HTTP/{0} {1} with {2}-byte payload</value>
251251
</data>
252252
<data name="WebMethodResumeFailedVerboseMsg" xml:space="preserve">
253253
<value>The remote server indicated it could not resume downloading. The local file will be overwritten.</value>

0 commit comments

Comments
 (0)