Prerequisites
Steps to reproduce
Invoke-RestMethod -Method HEAD http://example.org -Verbose
Expected behavior
VERBOSE: HTTP/1.1 HEAD with 0-byte payload
VERBOSE: received 648-byte response of content type text/html
Actual behavior
VERBOSE: HTTP/1.1 HEAD with 0-byte payload
VERBOSE: received -byte response of content type text/html
Note the missing number before "-byte".
Error details
No response
Environment data
PowerShell Core 7.4.0-preview.1
Visuals
No response