Make IHttpOutputAborter public #60205
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Background and Motivation
When there are cache servers (nginx, varnish, etc) in front of ASP.NET Core, and responding chunked body, we can tell them not to cache the response by aborting the output.
It is useful if retriable errors may occur while generating length-unknown chunked responses.
Proposed API
Usage Examples
Alternative Designs
Porting System.Web's HttpResponse.Close() method also would be nice.
Risks
I don't think any risk so far.
The text was updated successfully, but these errors were encountered: