-
Notifications
You must be signed in to change notification settings - Fork 10.7k
RequestDecompression middleware #40080
Copy link
Copy link
Closed
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionshelp wantedUp for grabs. We would accept a PR to help resolve this issueUp for grabs. We would accept a PR to help resolve this issue
Milestone
Metadata
Metadata
Assignees
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionshelp wantedUp for grabs. We would accept a PR to help resolve this issueUp for grabs. We would accept a PR to help resolve this issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
The same way we have a
ResponseCompressionmiddleware we should have aRequestDecompressionone that automatically decompress the requests containingContent-Encodingwith supported formats (gzip, deflate, brotli, ...). Based on the same extensible compression factories.Scenario: a client sends files to a server using gzip compressed streams. The developer of the server application doesn't have to care about how to decrompress the body.