Skip to content

Regression from 7.3.3: Verbose Invoke-WebRequest / Invoke-WebRequest output is missing the byte count #19230

@mklement0

Description

@mklement0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions