- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for allowMethods (0.23 sec)
-
pkg/config/validation/validation_test.go
valid bool }{ {name: "valid", in: &networking.CorsPolicy{ AllowMethods: []string{"GET", "POST"}, AllowHeaders: []string{"header1", "header2"}, ExposeHeaders: []string{"header3"}, MaxAge: &durationpb.Duration{Seconds: 2}, }, valid: true}, {name: "bad method", in: &networking.CorsPolicy{ AllowMethods: []string{"GET", "PUTT"}, AllowHeaders: []string{"header1", "header2"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
tests/integration/pilot/common/routing.go
apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: default spec: hosts: - {{ .dstSvc }} http: - corsPolicy: allowOrigins: - exact: cors.com allowMethods: - POST - GET allowCredentials: false allowHeaders: - X-Foo-Bar - X-Foo-Baz maxAge: "24h" route: - destination: host: {{ .dstSvc }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K bytes - Viewed (0) -
pkg/config/validation/validation.go
if policy == nil { return } for _, origin := range policy.AllowOrigins { errs = appendErrors(errs, validateAllowOrigins(origin)) } for _, method := range policy.AllowMethods { errs = appendErrors(errs, validateHTTPMethod(method)) } for _, name := range policy.AllowHeaders { errs = appendErrors(errs, ValidateHTTPHeaderName(name)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz
the caller is allowed to send the actual request (not the preflight) using credentials. nullable: true type: boolean allowHeaders: description: List of HTTP headers that can be used when requesting the resource. items: type: string type: array allowMethods: description: List of HTTP methods allowed to access the resource. items: type: string type: array allowOrigin: items: type: string type: array allowOrigins: description: String patterns that match allowed origins. items: oneOf: - not: anyOf: -...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 198.1K bytes - Viewed (0)