- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for headerNames (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader.go
} func headerValue(h http.Header, headerNames []string) string { for _, headerName := range headerNames { headerValue := h.Get(headerName) if len(headerValue) > 0 { return headerValue } } return "" } func allHeaderValues(h http.Header, headerNames []string) []string { ret := []string{} for _, headerName := range headerNames { headerKey := http.CanonicalHeaderKey(headerName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:19:54 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/jwt/routing.go
Square ) type RoutingClaim struct { Match bool Separator Separator Claims []string } func ToRoutingClaim(headerName string) RoutingClaim { rc := RoutingClaim{} if !strings.HasPrefix(strings.ToLower(headerName), HeaderJWTClaim) { return rc } name := headerName[len(HeaderJWTClaim):] if strings.HasPrefix(name, ".") && len(name) > 1 { // using `.` as a separator rc.Match = true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 11 16:38:57 UTC 2023 - 1.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/LoggingHandler.groovy
Map<String, String> entries = request.getHeaderNames().toList().collectEntries { headerName -> [headerName, request.getHeader(headerName as String)] } allHeaders.add(entries) String authorization = getAuthorizationHeader(request) if (authorization != null) { synchronized (authenticationAttempts) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation.go
req.Header.Del(authenticationv1.ImpersonateGroupHeader) req.Header.Del(authenticationv1.ImpersonateUIDHeader) for headerName := range req.Header { if strings.HasPrefix(headerName, authenticationv1.ImpersonateUserExtraHeaderPrefix) { req.Header.Del(headerName) } } handler.ServeHTTP(w, req) }) } func userString(u user.Info) string { if u == nil { return "<none>"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 10:10:35 UTC 2023 - 9.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
* * ``` * WWW-Authenticate: Digest ,foo=bar * WWW-Authenticate: Digest ,foo * ``` */ fun Headers.parseChallenges(headerName: String): List<Challenge> { val result = mutableListOf<Challenge>() for (h in 0 until size) { if (headerName.equals(name(h), ignoreCase = true)) { val header = Buffer().writeUtf8(value(h)) try { header.readChallengeHeader(result)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0)