-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Hi,
I found another minor problem when you have capitalized header key, such as X-API-KEY: FooBar, Echo will convert it in a Header map with X-Api-Key key while the generated still looking for X-API-KEY.
There is 2 possible solution, using headers[strings.ToLower(strings.Title(strings.ToLower("X-API-KEY")) or headers.Get("X-API-KEY") however the latter solution probably going to change to template a lot because now it's return the first value they found.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels