awslabs / aws-lambda-go-api-proxy

lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway.
Apache License 2.0
1.05k stars 197 forks source link

Custom headers not being returned by sam local #52

Closed muhammedhaque closed 4 years ago

muhammedhaque commented 4 years ago

Hi there - I am trying to add custom headers to a api response coming from gin proxy but these seem to be ignored completely by sam local.

prob. more of a sam local - issue so opened for any info

Are there any examples of doing so ?

regards

muhammedhaque commented 4 years ago

it seems this is related to sam local not the proxy adapter responses - so closing