Skip to content

Remove connection-specific headers for HTTP/2 and HTTP/3 #24502

Closed
@Kahbazi

Description

@Kahbazi

Spec for HTTP/2 and HTTP/3 states that connection-specific headers should be removed.

Such intermediaries SHOULD also remove other connection-specific fields, such as Keep-Alive, Proxy-Connection, Transfer-Encoding, and Upgrade, even if they are not nominated by the Connection field.

I want to create a PR for this issue. Is there any special way to add methods for clearing headers in HttpHeaders.Generated.cs since it's generated?
https://github.com/dotnet/aspnetcore/pull/24315/files/fb66a4e496ba49e3976731ad91be84fbafc9c936#diff-af588a349fd0f3044d4e05739c9c4293R8010-R8015

/cc @Tratcher

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-kestrel

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions