- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for responses (0.11 sec)
-
tests/integration/pilot/common/routing.go
Check: check.And( check.OK(), ConsistentHostChecker, ), PropagateResponse: func(req *http.Request, res *http.Response) { scopes.Framework.Infof("invoking propagate response") if res == nil { scopes.Framework.Infof("no response") return } if res.Cookies() == nil { scopes.Framework.Infof("no cookies") return }
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
return fmt.Errorf(`invalid header %q: header cannot have ":" prefix`, name) } return nil } // ValidateHTTPHeaderOperationName validates a header name when used to remove from request or modify response. func ValidateHTTPHeaderOperationName(name string) error { if name == "" { return fmt.Errorf("header name cannot be empty") } if strings.EqualFold(name, "host") {
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
"", }, }, }, }}, }, valid: false}, {name: "empty header name - response add", route: &networking.HTTPRoute{ Route: []*networking.HTTPRouteDestination{{ Destination: &networking.Destination{Host: "foo.baz"}, Headers: &networking.Headers{ Response: &networking.Headers_HeaderOperations{ Add: map[string]string{ "": "value", }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0)