Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for redirectCode (0.25 sec)

  1. pkg/config/validation/validation.go

    		return errors.New("redirect must specify URI, authority, scheme, or port")
    	}
    
    	if redirect.RedirectCode != 0 {
    		if redirect.RedirectCode < 300 || redirect.RedirectCode > 399 {
    			return fmt.Errorf("%d is not a valid redirect code, must be 3xx", redirect.RedirectCode)
    		}
    	}
    	if redirect.Scheme != "" && redirect.Scheme != "http" && redirect.Scheme != "https" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. pkg/config/validation/validation_test.go

    			redirect: &networking.HTTPRedirect{
    				Uri:          "t",
    				Authority:    "",
    				RedirectCode: 299,
    			},
    			valid: false,
    		},
    		{
    			name: "too large redirect code",
    			redirect: &networking.HTTPRedirect{
    				Uri:          "t",
    				Authority:    "",
    				RedirectCode: 400,
    			},
    			valid: false,
    		},
    		{
    			name: "empty authority",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      private fun testResponseRedirectedWithPost(
        redirectCode: Int,
        transferKind: TransferKind,
      ) {
        server.enqueue(
          MockResponse(
            code = redirectCode,
            headers = headersOf("Location", "/page2"),
            body = "This page has moved!",
          ),
        )
        server.enqueue(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  4. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    defaultConfig is used, but this is nested under `meshConfig` for consistency with other # components. # TODO: https://github.com/istio/istio/issues/43248 meshConfig: defaultConfig: proxyMetadata: {} # Ambient redirection mode: "iptables" or "ebpf" redirectMode: "iptables" # This value defines: # 1. how many seconds kube waits for ztunnel pod to gracefully exit before forcibly terminating it (this value) # 2. how many seconds ztunnel waits to drain its own connections (this value - 1 sec) # Default K8S...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
Back to top