- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for HostHeader (0.62 sec)
-
pilot/pkg/networking/core/gateway_simulation_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 18:27:40 UTC 2024 - 46.5K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/config.go
c.headers = common.GetHeaders(c.Request) c.hboneHeaders = common.ProtoToHTTPHeaders(c.Request.Hbone.GetHeaders()) // Extract the host from the headers and then remove it. c.hostHeader = c.headers.Get(hostHeader) c.headers.Del(hostHeader) c.urlHost, c.urlPath = splitPath(c.Request.Url) c.method = c.Request.Method if c.method == "" { c.method = "GET" }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 9.8K bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
} func (c Call) FillDefaults() Call { if c.Headers == nil { c.Headers = http.Header{} } if c.HostHeader != "" { c.Headers["Host"] = []string{c.HostHeader} } // For simplicity, set SNI automatically for TLS traffic. if c.Sni == "" && (c.TLS == TLS) { c.Sni = c.HostHeader } if c.Path == "" { c.Path = "/" } if c.TLS == "" { c.TLS = Plaintext } if c.Address == "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
pilot/pkg/security/authz/model/model.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/test/framework/components/echo/config.go
ns = "default" } return []string{ c.Service, c.Service + "." + ns, c.Service + "." + ns + ".svc", c.ClusterLocalFQDN(), } } // HostHeader returns the Host header that will be used for calls to this service. func (c Config) HostHeader() string { if c.DefaultHostHeader != "" { return c.DefaultHostHeader } return c.ClusterLocalFQDN() } func (c Config) IsHeadless() bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 12:26:52 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/probe/http/http_test.go
defer server.Close() testCases := map[string]struct { hostHeader string expectedResult probe.Result }{ "success": {successHostHeader, probe.Success}, "fail": {failHostHeader, probe.Failure}, } for desc, test := range testCases { headers := http.Header{} headers.Add("Host", test.hostHeader) t.Run(desc+"local", func(t *testing.T) { followNonLocalRedirects := false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:40:08 UTC 2023 - 15.7K bytes - Viewed (0) -
pilot/pkg/security/authz/model/generator.go
func (hg hostGenerator) permission(key, value string, forTCP bool) (*rbacpb.Permission, error) { if forTCP { return nil, fmt.Errorf("%q is HTTP only", key) } return permissionHeader(matcher.HostMatcher(hostHeader, value)), nil } func (hostGenerator) principal(key, value string, forTCP bool, _ bool) (*rbacpb.Principal, error) { return nil, fmt.Errorf("unimplemented") } type pathGenerator struct{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 18:02:42 UTC 2024 - 14.1K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
final String preHeader = "--< "; final String postHeader = " >--"; final int headerLen = preHeader.length() + projectKey.length() + postHeader.length(); String prefix = chars('-', Math.max(0, (lineLength - headerLen) / 2)) + preHeader; String suffix = postHeader + chars('-', Math.max(0, lineLength - headerLen - prefix.length() + preHeader.length()));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 17.6K bytes - Viewed (0)