You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.
Firstly thanks for this awesome project. I have my lambda functions being called by the ALB and it looks like the headers that I set in my php code are not being sent back in the headers field of the json response back to the ALB. Therefore, I cannot set the content type for my responses so they always end up being octet-stream. This is my very simple php function:
and when the response reaches my browser via the ALB, the content type is the default octet-stream. According to the AWS Lambda Functions as Targets the response that bootstrap needs to send back to the ALB must be json like this:
Firstly thanks for this awesome project. I have my lambda functions being called by the ALB and it looks like the headers that I set in my php code are not being sent back in the
headers
field of the json response back to the ALB. Therefore, I cannot set the content type for my responses so they always end up being octet-stream. This is my very simple php function:and when the response reaches my browser via the ALB, the content type is the default octet-stream. According to the AWS Lambda Functions as Targets the response that bootstrap needs to send back to the ALB must be json like this:
I could be mistaken, but I believe bootstrap is failing to set the
headers
field in that json response.Any assistance would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: