Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Added support for multiple header value in API Gateway#16

Open
mattdelaf wants to merge 1 commit intoapex:master from
GipsyBot:master
Open

Added support for multiple header value in API Gateway #16
mattdelaf wants to merge 1 commit intoapex:master from
GipsyBot:master

Conversation

@mattdelaf
Copy link

@mattdelaf mattdelaf commented Jan 7, 2019

Last October AWS announced support for multi-value headers.

Since version 1.8.1, aws-lambda-go package events supports multi-value headers as map[string][]string.

This is particularly useful for setting multiple cookies. This is a quick fix proposal.

@tj
Copy link
Member

tj commented Jan 8, 2019
edited
Loading

ahah silly AWS APIs..., looks good to me though, mind adding a test? I suppose we could probably always just set the multiple headers one? Since Go gives you a slice anyway

davidfaynzilberg reacted with thumbs up emoji

Copy link

dimiro1 commented Jan 8, 2019
edited
Loading

Copy link

How do you use this library
can someone add full route request with parsed response

@tj
Copy link
Member

tj commented Nov 25, 2019

@davidfaynzilberg check out the readme, there's an example. It's basically a drop-in replacement for net/http for Lambda

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /