Skip to content
Myr

Merge commit from fork

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

authored by Yusuke Wada · committed by GitHub · parent 74c2cf8 · Browse files · 2 files+31 added−1 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+31 added−1 removed

  • tests:+30 added−0 removed
  • other:+1 added−1 removed

2 files+31 added−1 removed

modified:src/adapter/lambda-edge/handler.test.ts+30 added
modified:src/adapter/lambda-edge/handler.ts+1 added-1 removed
157 unmodified lines
158 const url = queryString ? `${urlPath}?${queryString}` : urlPath159160 const headers = new Headers()161 Object.entries(event.Records[0].cf.request.headers).forEach(([k, v]) => {162 v.forEach((header) => headers.set(k, header.value))162 v.forEach((header) => headers.append(k, header.value))163 })164165 const requestBody = event.Records[0].cf.request.body166 const method = event.Records[0].cf.request.method
30 unmodified lines