Skip to content

Add ability to pass HTTP Headers from AWS Lambda#1

Open
Dimitri-Gnidash wants to merge 5 commits intoiyp-uk:masterfrom
FreckleIOT:feature/pass_along_headers_returned_by_lambda
Open

Add ability to pass HTTP Headers from AWS Lambda#1
Dimitri-Gnidash wants to merge 5 commits intoiyp-uk:masterfrom
FreckleIOT:feature/pass_along_headers_returned_by_lambda

Conversation

@Dimitri-Gnidash
Copy link

This code adds ability of aws-lambda-status-code to also pass the headers returned by original Lambda functions through Kong Gateway.

This is necessary to support HTTP Redirects that pass additional information for 3XX family of responses in the HTTP Headers.

The expected return array is of the following structure:

{
   "statusCode": 303,
   "headers": {"Location": "https://google.com"},
   "resource": "my value"
}

@Dimitri-Gnidash
Copy link
Author

@miaoulafrite @iyp-uk Could you please review this PR? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant