- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for headerNames (0.22 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) -
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) -
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)