Skip to content

Support for response content compression #1368

Description

@timocov

Currently, clients only support gzip request content compression when @requestCompression is used.

It would be nice to have a support for response compression as well (a client needs to send accept-encoding header with a list of supported encodings, then then based on content-encoding header decode the content), which would allow to reduce transmitted size of huge responses.

Is it something the team is considering to have in smithy-java, or you would rather for consumers to implement their own client plugins to add support for? If you're fine with having it in the library, I'm happy to work on the feature.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions