- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for headerValue (0.11 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt
var noTransform = false var immutable = false var canUseHeaderValue = true var headerValue: String? = null loop@ for (i in 0 until headers.size) { val name = headers.name(i) val value = headers.value(i) when { name.equals("Cache-Control", ignoreCase = true) -> { if (headerValue != null) { // Multiple cache-control headers means we can't use the raw value.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader.go
return len(s) >= len(prefix) && strings.EqualFold(s[:len(prefix)], prefix) } 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{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:19:54 UTC 2024 - 6.1K bytes - Viewed (0)