Skip to content
Myr

fix(adapter/aws-lambda): use content-encoding to determine isBase64Encoded (#1295)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* aws-lambda adapter: use content-encoding to determine isBase64Encoded * when contentType is binary, skip checking contentEncoding * prettier

authored by byunghoo.yu · committed by GitHub · parent 35246d0 · Browse files · 2 files+29 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+29 added−3 removed

  • tests:+13 added−1 removed
  • other:+16 added−2 removed

2 files+29 added−3 removed

modified:src/adapter/aws-lambda/handler.test.ts+13 added-1 removed
modified:src/adapter/aws-lambda/handler.ts+16 added-2 removed