-
-
Notifications
You must be signed in to change notification settings - Fork 793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALB event doesn't reflect custom headers specified in handler.ts #1728
Comments
Getting the same issue! |
Hey everyone! I opened a PR to address this. I've been running it locally using patch-package but hopefully if the PR is accepted it will be fixed for everyone needing to use ALBs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Current Behavior
When using the ALB event in
serverless.ts
, specifying the responseheaders
inhandler.ts
doesn't reflect in the actual response.No error messages are displayed.
Sample Code
Here is a minimal code snippet to reproduce the issue.
Expected Behavior/Code
The expected request and response should be:
Environment
serverless
version: 3.34.0serverless-offline
version: 12.0.4@serverless/typescript
version: 3.30.1node.js
version: v18.17.0OS
: Debian GNU/Linux 11 (bullseye) (Running on Docker/DevContainer with WSL2/Windows 10)Possible Solution
None
Additional Context/Screenshots
None
The text was updated successfully, but these errors were encountered: