Add API for Emitting Informational Responses (1xx), for Example 103 Early Hints
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
### Is your feature request related to a problem? Please describe.
Chrome developers have expressed intent to [remove server push](https://groups.google.com/a/chromium.org/g/blink-dev/c/K3rYLvmQUBY/m/vOWBKZGoAQAJ?pli=1) and at the same time pointed to [103 Early Hints](https://httpwg.org/specs/rfc8297.html) 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.
Contributor guide
Assessment
This issue has not been assessed yet.