Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for headerKey (0.1 sec)

  1. pkg/config/validation/virtualservice.go

    func isInternalHeader(headerKey string) bool {
    	return strings.HasPrefix(headerKey, ":") || strings.EqualFold(headerKey, "host")
    }
    
    // isAuthorityHeader returns true if a header refers to the authority header
    func isAuthorityHeader(headerKey string) bool {
    	return strings.EqualFold(headerKey, ":authority") || strings.EqualFold(headerKey, "host")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader.go

    		}
    	}
    	return ""
    }
    
    func allHeaderValues(h http.Header, headerNames []string) []string {
    	ret := []string{}
    	for _, headerName := range headerNames {
    		headerKey := http.CanonicalHeaderKey(headerName)
    		values, ok := h[headerKey]
    		if !ok {
    			continue
    		}
    
    		for _, headerValue := range values {
    			if len(headerValue) > 0 {
    				ret = append(ret, headerValue)
    			}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:19:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/route.go

    func isInternalHeader(headerKey string) bool {
    	return strings.HasPrefix(headerKey, ":") || strings.EqualFold(headerKey, "host")
    }
    
    // isAuthorityHeader returns true if a header refers to the authority header
    func isAuthorityHeader(headerKey string) bool {
    	return strings.EqualFold(headerKey, ":authority") || strings.EqualFold(headerKey, "host")
    }
    
    func dropInternal(keys []string) []string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  4. maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                final String postHeader = " >--";
    
                final int headerLen = preHeader.length() + projectKey.length() + postHeader.length();
    
                String prefix = chars('-', Math.max(0, (lineLength - headerLen) / 2)) + preHeader;
    
                String suffix =
                        postHeader + chars('-', Math.max(0, lineLength - headerLen - prefix.length() + preHeader.length()));
    
                logger.info(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    					Header   json.RawMessage
    					Metadata json.RawMessage
    				}
    				versions := make([]version, hdr.versions)
    				headerVer := hdr.headerVer
    				err = decodeVersions(v, hdr.versions, func(idx int, hdr, meta []byte) error {
    					var header xlMetaV2VersionHeaderV2
    					if _, err := header.UnmarshalMsg(hdr, headerVer); err != nil {
    						return err
    					}
    					b, err := header.MarshalJSON()
    					if err != nil {
    						return err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  6. pilot/pkg/leaderelection/leaderelection.go

    		// for these per-revision ones anyways, since the prioritization is about preferring one revision over others.
    		config.KeyComparison = func(leaderKey string) bool {
    			return LocationPrioritizedComparison(leaderKey, l)
    		}
    	}
    
    	return k8sleaderelection.NewLeaderElector(config)
    }
    
    func LocationPrioritizedComparison(currentLeaderRevision string, l *LeaderElection) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HttpHeaders.java

       *
       * @since 33.0.0
       */
      public static final String AD_AUCTION_SIGNALS = "Ad-Auction-Signals";
    
      /**
       * The HTTP <a href="https://wicg.github.io/turtledove/#http-headerdef-ad-auction-allowed">{@code
       * Ad-Auction-Allowed}</a> header field name.
       *
       * @since 33.2.0
       */
      public static final String AD_AUCTION_ALLOWED = "Ad-Auction-Allowed";
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 01 18:44:57 UTC 2024
    - 34.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/HttpHeaders.java

       *
       * @since 33.0.0
       */
      public static final String AD_AUCTION_SIGNALS = "Ad-Auction-Signals";
    
      /**
       * The HTTP <a href="https://wicg.github.io/turtledove/#http-headerdef-ad-auction-allowed">{@code
       * Ad-Auction-Allowed}</a> header field name.
       *
       * @since 33.2.0
       */
      public static final String AD_AUCTION_ALLOWED = "Ad-Auction-Allowed";
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 01 18:44:57 UTC 2024
    - 34.3K bytes
    - Viewed (0)
Back to top