- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for redirectCode (0.17 sec)
-
pilot/pkg/networking/core/route/route_test.go
Http: []*networking.HTTPRoute{ { Redirect: &networking.HTTPRedirect{ Uri: "example.org", Authority: "some-authority.default.svc.cluster.local", RedirectCode: 308, }, }, }, }, } var virtualServiceWithRedirectPathPrefix = config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.VirtualService, Name: "acme",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
action.Redirect.PortRedirect = 0 } if action.Redirect.PortRedirect == 443 && scheme == "https" { action.Redirect.PortRedirect = 0 } } switch redirect.RedirectCode { case 0, 301: action.Redirect.ResponseCode = route.RedirectAction_MOVED_PERMANENTLY case 302: action.Redirect.ResponseCode = route.RedirectAction_FOUND case 303:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
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) -
pkg/config/validation/validation_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
if filter == nil { return nil } resp := &istio.HTTPRedirect{} if filter.StatusCode != nil { // Istio allows 301, 302, 303, 307, 308. // Gateway allows only 301 and 302. resp.RedirectCode = uint32(*filter.StatusCode) } if filter.Hostname != nil { resp.Authority = string(*filter.Hostname) } if filter.Scheme != nil { // Both allow http and https resp.Scheme = *filter.Scheme
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
manifests/charts/istiod-remote/templates/crd-all.gen.yaml
the URL with this value. maximum: 4294967295 minimum: 0 type: integer redirectCode: description: On a redirect, Specifies the HTTP status code to use in the redirect response. maximum: 4294967295
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:42 UTC 2024 - 671.7K bytes - Viewed (0) -
manifests/charts/base/crds/crd-all.gen.yaml
the URL with this value. maximum: 4294967295 minimum: 0 type: integer redirectCode: description: On a redirect, Specifies the HTTP status code to use in the redirect response. maximum: 4294967295
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:42 UTC 2024 - 671.6K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_linux.go
cfg.CNIMode = true cfg.NetworkNamespace = netns cfg.ProxyPort = rdrct.targetPort cfg.ProxyUID = rdrct.noRedirectUID cfg.ProxyGID = rdrct.noRedirectGID cfg.InboundInterceptionMode = rdrct.redirectMode cfg.OutboundIPRangesInclude = rdrct.includeIPCidrs cfg.InboundPortsExclude = rdrct.excludeInboundPorts cfg.InboundPortsInclude = rdrct.includeInboundPorts cfg.ExcludeInterfaces = rdrct.excludeInterfaces
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 17:36:41 UTC 2024 - 2.5K bytes - Viewed (0) -
cni/README.md
- "sidecar.istio.io/status" exists ### Redirect API The annotation based control is currently only supported in 'sidecar' mode. See plugin/redirect.go for details. - redirectMode allows TPROXY may to be set, required envoy has extra permissions. Default is redirect. - includeIPCidr, excludeIPCidr - includeInboudPorts, excludeInboundPorts - includeOutboutPorts, excludeOutboundPorts - excludeInterfaces
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 19:29:42 UTC 2024 - 12.3K bytes - Viewed (0) -
src/net/http/client_test.go
} if ue.Err != context.Canceled { t.Errorf("url.Error.Err = %v; want %v", ue.Err, context.Canceled) } } type redirectTest struct { suffix string want int // response code redirectBody string } func TestPostRedirects(t *testing.T) { postRedirectTests := []redirectTest{ {"/", 200, "first"}, {"/?code=301&next=302", 200, "c301"}, {"/?code=302&next=302", 200, "c302"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0)