Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WithoutHeaders (0.15 sec)

  1. pilot/pkg/model/virtualservice.go

    	}
    	if out.Authority == nil {
    		out.Authority = root.Authority
    	}
    	// headers
    	out.Headers = maps.MergeCopy(root.Headers, delegate.Headers)
    
    	// withoutheaders
    	out.WithoutHeaders = maps.MergeCopy(root.WithoutHeaders, delegate.WithoutHeaders)
    
    	// queryparams
    	out.QueryParams = maps.MergeCopy(root.QueryParams, delegate.QueryParams)
    
    	if out.Port == 0 {
    		out.Port = root.Port
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. pkg/config/validation/virtualservice_test.go

    		{name: "exact without headers match", route: &networking.HTTPRoute{
    			Redirect: &networking.HTTPRedirect{
    				Uri:       "/",
    				Authority: "foo.biz",
    			},
    			Match: []*networking.HTTPMatchRequest{{
    				WithoutHeaders: map[string]*networking.StringMatch{
    					"header": {
    						MatchType: &networking.StringMatch_Exact{Exact: "test"},
    					},
    				},
    			}},
    		}, valid: true},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 15:33:55 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top