Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for headerNames (0.18 sec)

  1. 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)
  2. 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)
  3. cmd/object-api-options.go

    func parseIntHeader(bucket, object string, h http.Header, headerName string) (value int, err error) {
    	stringInt := strings.TrimSpace(h.Get(headerName))
    	if stringInt == "" {
    		return
    	}
    	value, err = strconv.Atoi(stringInt)
    	if err != nil {
    		return 0, InvalidArgument{
    			Bucket: bucket,
    			Object: object,
    			Err:    fmt.Errorf("Unable to parse %s, value should be an integer", headerName),
    		}
    	}
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

            int count = 1;
            String headerName = paramMap.get(CRAWLER_WEB_HEADER_PREFIX + count + ".name");
            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++;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

        responseCode: Int,
        headerName: String,
        headerValue: String,
      ) {
        server.enqueue(
          MockResponse.Builder()
            .code(responseCode)
            .addHeader(headerName, headerValue)
            .addHeader("Location", "/a")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .addHeader(headerName, headerValue)
            .body("a")
            .build(),
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route.go

    		return &route.RouteAction_HashPolicy{
    			PolicySpecifier: &route.RouteAction_HashPolicy_Header_{
    				Header: &route.RouteAction_HashPolicy_Header{
    					HeaderName: consistentHash.GetHttpHeaderName(),
    				},
    			},
    		}
    	case *networking.LoadBalancerSettings_ConsistentHashLB_HttpCookie:
    		cookie := consistentHash.GetHttpCookie()
    		var ttl *durationpb.Duration
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top