Consolidate IRequestBodyPipeFeature and IHttpRequestFeature.Body #12620
Labels
affected-very-few
This issue impacts very few customers
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
breaking-change
This issue / pr will introduce a breaking change, when resolved / merged.
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
severity-nice-to-have
This label is used by an internal tool
Milestone
For 3.0.0-preview8 we consolidated all of the response body APIs onto the new IHttpResponseBodyFeature. We should do something similar for request bodies to make them more reliable to shim.
New API:
IHttpRequestBodyFeature
Obsolete:
IRequestBodyPipeFeature
IHttpRequestFeature.Body
https://github.com/aspnet/AspNetCore/blob/master/src/Http/Http.Features/src/IRequestBodyPipeFeature.cs
https://github.com/aspnet/AspNetCore/blob/master/src/Http/Http/src/Features/RequestBodyPipeFeature.cs
This isn't as high a priority as it was for response bodies because there are fewer APIs, the auto-adapters work better for the read scenario, and it's less common to shim the request body.
The text was updated successfully, but these errors were encountered: