Skip to content

HttpWebRequest.MaximumResponseHeadersLength does not accept -1 #27296

Closed
@Mpdreamz

Description

@Mpdreamz

HttpWebRequest.MaximumResponseHeadersLength accepts -1 as value on desktop CLR

However on corefx any value lower then 0 throws.

https://github.com/dotnet/corefx/blob/72119235e294e711871cf453f2ffc66ba17ff23b/src/System.Net.Requests/src/System/Net/HttpWebRequest.cs#L166

Is this by design?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions