Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for headerNames (0.17 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. maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

            Xpp3Dom httpHeaders = new Xpp3Dom("httpHeaders");
            Xpp3Dom property = new Xpp3Dom("property");
            Xpp3Dom headerName = new Xpp3Dom("name");
            headerName.setValue("header");
            Xpp3Dom headerValue = new Xpp3Dom("value");
            headerValue.setValue("value");
            property.addChild(headerName);
            property.addChild(headerValue);
            httpHeaders.addChild(property);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Mar 27 14:46:12 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pilot/pkg/security/authn/policy_applier.go

    			}
    			provider.ClearRouteCache = clearRouteCache
    		}
    
    		for _, claimAndHeader := range jwtRule.OutputClaimToHeaders {
    			provider.ClaimToHeaders = append(provider.ClaimToHeaders, &envoy_jwt.JwtClaimToHeader{
    				HeaderName: claimAndHeader.Header,
    				ClaimName:  claimAndHeader.Claim,
    			})
    		}
    
    		for _, location := range jwtRule.FromHeaders {
    			provider.FromHeaders = append(provider.FromHeaders, &envoy_jwt.JwtHeader{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/envoyfilter/rc_patch_test.go

    					{
    						Actions: []*route.RateLimit_Action{
    							{
    								ActionSpecifier: &route.RateLimit_Action_RequestHeaders_{
    									RequestHeaders: &route.RateLimit_Action_RequestHeaders{
    										HeaderName:    ":path",
    										DescriptorKey: "PATH",
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    	}
    
    	serviceDiscovery := memory.NewServiceDiscovery()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  9. 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)
  10. 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