Skip to content

BaseProxyEvent: This should draw from self.decoded_body() #544

Closed

Description

@whardier

It seems as though .json_body() would also attempt to decode the body of a proxyevent if the body is marked as base64 encoded.

https://github.com/awslabs/aws-lambda-powertools-python/blob/cb0d54bc36513961422fdebd5953bc11453b4651/aws_lambda_powertools/utilities/data_classes/common.py#L68

Activity

  1. boring-cyborg commented on Jul 20, 2021

    @boring-cyborg

    Thanks for opening your first issue here! We'll come back to you as soon as we can.

  2. michaelbrewer commented on Jul 23, 2021

    @michaelbrewer
    Contributor

    @whardier i have a patch for that. Going to add an example test case to

  3. heitorlessa commented on Jul 26, 2021

    @heitorlessa
    Contributor

    Thanks @michaelbrewer and thanks @whardier for raising it.

    @whardier we'd appreciate if you use the issue templates we have available next time you open an issue.

    Tagging this for 1.19.0 in early August

  4. added this to the 1.19.0 milestone on Jul 26, 2021
  5. removed
    pending-releaseFix or implementation already in dev waiting to be released
    on Aug 11, 2021
  6. heitorlessa commented on Aug 11, 2021

    @heitorlessa
    Contributor
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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions