- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for headerValue (0.63 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) -
pilot/pkg/networking/core/route/route_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
pilot/pkg/networking/core/tracing_test.go
Cluster: clusterName, }, Timeout: &durationpb.Duration{Seconds: 3}, }, RequestHeadersToAdd: []*core.HeaderValueOption{ { Header: &core.HeaderValue{ Key: "custom-header", Value: "custom-value", }, AppendAction: core.HeaderValueOption_OVERWRITE_IF_EXISTS_OR_ADD, }, }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 20:47:52 UTC 2024 - 38.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java
while (StringUtil.isNotBlank(headerName)) { final String headerValue = paramMap.get(CRAWLER_WEB_HEADER_PREFIX + count + ".value"); rhList.add(new org.codelibs.fess.crawler.client.http.RequestHeader(headerName, headerValue)); count++; headerName = paramMap.get(CRAWLER_WEB_HEADER_PREFIX + count + ".name"); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu May 09 09:48:04 UTC 2024 - 18.5K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/extauthz.go
//nolint: staticcheck allowedHeaders = generateHeaders(config.IncludeHeadersInCheck) } var headersToAdd []*core.HeaderValue additionalHeaders := maps.Keys(config.IncludeAdditionalHeadersInCheck) sort.Strings(additionalHeaders) for _, k := range additionalHeaders { headersToAdd = append(headersToAdd, &core.HeaderValue{ Key: k, Value: config.IncludeAdditionalHeadersInCheck[k], }) } if len(headersToAdd) != 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 12.7K bytes - Viewed (0) -
pilot/pkg/networking/core/tracing.go
TargetSpecifier: &core.GrpcService_EnvoyGrpc_{ EnvoyGrpc: &core.GrpcService_EnvoyGrpc{ ClusterName: clusterName, Authority: hostname, }, }, InitialMetadata: []*core.HeaderValue{ { Key: "lightstep-access-token", Value: accessToken, }, }, }, } return anypb.New(dc) } func configureDynatraceSampler(hostname, cluster string,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 17:05:28 UTC 2024 - 24.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
* if this header is set. */ @get:JvmName("onlyIfCached") val onlyIfCached: Boolean, @get:JvmName("noTransform") val noTransform: Boolean, @get:JvmName("immutable") val immutable: Boolean, internal var headerValue: String?, ) { @JvmName("-deprecated_noCache") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "noCache"), level = DeprecationLevel.ERROR, )
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 10K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
} headerVal := strings.Join(valParts, ", ") return &core.HeaderValueOption{ AppendAction: core.HeaderValueOption_APPEND_IF_EXISTS_OR_ADD, Header: &core.HeaderValue{ Key: util.AltSvcHeader, Value: headerVal, }, } } // SortHeaderValueOption type and the functions below (Len, Less and Swap) are for sort.Stable for type HeaderValueOption
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0)