Skip to content

Supports multiple response headers

Choose a tag to compare

@jjeffery jjeffery released this 29 Nov 11:50
· 3 commits to master since this release

This release contains a quick-fix to allow multiple response headers.

If the application needs to set more than one cookie, it needs to send multiple Set-Cookie headers. It is not possible to merge two cookie definitions (see RFC 6265 section 4).

AWS API Gateway recently included support for returning multiple response headers,
but the github.com/aws/aws-lambda-go package has not been updated yet.

This release contains a bit of a hack to support the new format, without changing the public interface.