Skip to content

Content-Encoding being disregarded when outputing API Gateway HTTP V2 Response #2411

@driverpt

Description

@driverpt

Expected Behavior

If Content-Encoding is gzip or brotli, the output is supposed to be Binary + Base64, not based on Binary Mime Types

Actual Behaviour

Content-Encoding is disregarded and Response easily exceeds the 20 MB Limit on AWS Lambda

Steps To Reproduce

No response

Environment Information

No response

Example Application

https://github.com/driverpt/micronaut-aws-lambda-20mb-limit

Version

4.9.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions