Skip to content

System.Net.Http.HttpResponseMessage.ReasonPhrase can return null on core #16626

@Tratcher

Description

@Tratcher

There was a recent regression with WinHttpHandler where HttpResponseMessage.ReasonPhrase now returns null rather than string.Empty if no reason phrase was specified in the response message. This diverges from the HttpClientHandler/HttpWebRequest behavior in the full framework that always return string.Emtpy.

@davidsh

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions