Skip to content

Commit

Permalink
Don't duplicate headers in API Gateway. HTTP APIs don't like it.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidansteele committed Feb 4, 2020
1 parent b75d163 commit 94d22e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/gowrap/apigw.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func (a *apigw) Invoke(ctx context.Context, payload []byte) ([]byte, error) {
response := events.APIGatewayProxyResponse{
StatusCode: httpResp.StatusCode,
MultiValueHeaders: httpResp.Header,
Headers: singleValueHeaders(httpResp.Header),
Body: b64,
IsBase64Encoded: true,
}
Expand Down

0 comments on commit 94d22e0

Please sign in to comment.