Added support for multiple header value in API Gateway
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.
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
@mattdelaf You have to implement on the Request side as well.
https://github.com/apex/gateway/blob/master/request.go#L51 https://github.com/aws/aws-lambda-go/blob/HEAD/events/apigw.go#L11
How do you use this library can someone add full route request with parsed response
@davidfaynzilberg check out the readme, there's an example. It's basically a drop-in replacement for net/http for Lambda