Skip to content

Add API for Emitting Informational Responses (1xx), for Example 103 Early Hints #27851

Open
@tpeczek

Description

@tpeczek

Is your feature request related to a problem? Please describe.

Chrome developers have expressed intent to remove server push and at the same time pointed to 103 Early Hints as an alternative implementation suggestion. It would be nice to have this capability in ASP.NET Core.

Describe the solution you'd like

A generic approach to provide support for 103 Early Hints could be an API which allows emitting informational responses. Similar to current HTTP Trailers implementation, it could support only HTTP/2 as any modern HTTP/2 clients should ignore unsupported information response, while HTTP/1.x clients can misbehave.

Additional context

As @Tratcher pointed out there might be no way for this API to provide support in all hosting scenario as in case of IIS/Http.Sys it requires work in Http.Sys at the OS level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-very-fewThis issue impacts very few customersarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsblockedThe work on this issue is blocked due to some dependencyenhancementThis issue represents an ask for new feature or an enhancement to an existing oneseverity-minorThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions