You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The net/http/header.go already convert this for us:
// Values returns all values associated with the given key.
// It is case insensitive; textproto.CanonicalMIMEHeaderKey is
// used to canonicalize the provided key. To use non-canonical
// keys, access the map directly.
// The returned slice is not a copy.
func (h Header) Values(key string) []string {
return textproto.MIMEHeader(h).Values(key)
}
I think we can remove this line:
echo-jwt/extractors.go
Line 98 in 2fe4a09
The
net/http/header.go
already convert this for us:https://pkg.go.dev/net/http#Header.Values
The text was updated successfully, but these errors were encountered: