Skip to content

RequestDecompression middleware #40080

@sebastienros

Description

@sebastienros

The same way we have a ResponseCompression middleware we should have a RequestDecompression one that automatically decompress the requests containing Content-Encoding with 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-approvedAPI was approved in API review, it can be implementedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionshelp wantedUp for grabs. We would accept a PR to help resolve this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions