Skip to content

WinHttpHandler HTTP/2 trailing headers #44778

Closed

Description

WinHTTP has added support for HTTP/2 trailing headers in modern versions of Windows.

WinHttpHandler should set trailers into the HttpResponseMessage.TrailingHeaders collection in .NET Core 3+.

An idea that the gRPC team is thinking about is using WinHttpHandler to support Grpc.Net.Client on .NET Framework. For that to work the trailing headers would need to be available in .NET Framework, which doesn't have the HttpResponseMessage.TrailingHeaders API.

A possible solution that doesn't involve adding new API to .NET Framework could be to set the trailing headers collection as a value in HttpRequestMessage.Properties using a known key, e.g. __Http2ResponseTrailingHeaders.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Cost:SWork that requires one engineer up to 1 weekPriority:2Work that is important, but not critical for the releaseTeam:Librariesapi-needs-workAPI needs work before it is approved, it is NOT ready for implementationarea-System.Net.Http

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions