Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isInternalHeader (0.1 sec)

  1. pkg/config/validation/virtualservice.go

    		errs = appendErrors(errs, errors.New("HTTP route cannot contain both mirror and mirrors"))
    	}
    
    	return errs
    }
    
    // isInternalHeader returns true if a header refers to an internal value that cannot be modified by Envoy
    func isInternalHeader(headerKey string) bool {
    	return strings.HasPrefix(headerKey, ":") || 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)
Back to top