Open
Description
Accessing the headers from an APIGatewayProxyRequest
event as request.Headers["Authorization"]
makes them case sensitive. HTTP headers are case insensitive by definition. I think it would make sense to have a getter method for them like the one in net/http
where case sensitivity would be handled.
- request.Headers["Authorization"]
+ request.Header.Get("Authorization")