- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hasPrefixIgnoreCase (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader.go
h.Del(headerName) } for _, prefix := range extraHeaderPrefixes.Value() { for k := range h { if hasPrefixIgnoreCase(k, prefix) { delete(h, k) // we have the raw key so avoid relying on canonicalization } } } } func hasPrefixIgnoreCase(s, prefix string) bool { return len(s) >= len(prefix) && strings.EqualFold(s[:len(prefix)], prefix) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:19:54 UTC 2024 - 6.1K bytes - Viewed (0)