We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Note:
((Invoke-WebRequest https://example.org -Verbose -HttpVersion 3).RawContent -split '\r?\n', 2)[0]
VERBOSE: HTTP/2.0 GET with 0-byte payload VERBOSE: received response of content type text/html of unknown size HTTP/2.0 200 OK
VERBOSE: HTTP/3.0 GET with 0-byte payload VERBOSE: received response of content type text/html of unknown size HTTP/2.0 200 OK
That is, even though the actual HTTP version is 2.0, the -Verbose output shows the requested version.
No response
PowerShell 7.4.0-preview.3
Prerequisites
Steps to reproduce
Note:
Expected behavior
Actual behavior
That is, even though the actual HTTP version is 2.0, the -Verbose output shows the requested version.
Error details
No response
Environment data
Visuals
No response