Skip to content

Conversation

@adrienblot
Copy link
Contributor

When using AWS ALB with multi-value headers enabled, the Lambda event payload does not include a headers property, and it ignores the headers property in the response payload.

This PR introduces a new configuration option: albMultiValueHeaders.

When enabled, all headers from the request’s multiValueHeaders property are passed through to the Fastify request object.

Likewise, all headers set in the Fastify response are added to the return payload’s multiValueHeaders as arrays.

Checklist

@adrai adrai merged commit c25a39d into fastify:main Aug 25, 2025
14 checks passed
@adrai
Copy link
Member

adrai commented Aug 25, 2025

thank you... included in v6.1.0

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.

2 participants