- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for HostHeader (0.59 sec)
-
pilot/pkg/networking/core/serviceentry_simulation_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 21:06:06 UTC 2024 - 4.9K bytes - Viewed (0) -
tests/integration/pilot/multiplecontrolplanes/main_test.go
HTTP: echo.HTTP{ Headers: HostHeader(apps.External.All[0].Config().DefaultHostHeader), }, Port: echo.Port{Name: "http", ServicePort: 80}, Scheme: scheme.HTTP, Check: check.And( check.ErrorOrStatus(tc.statusCode), ), }) }) } }) } func HostHeader(header string) http.Header { return headers.New().WithHost(header).Build()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 16:52:52 UTC 2024 - 9.1K bytes - Viewed (0) -
tests/integration/pilot/mirror_test.go
func TestMirroringExternalService(t *testing.T) { header := "" if len(apps.External.All) > 0 { header = apps.External.All.Config().HostHeader() } runMirrorTest(t, mirrorTestOptions{ mirrorHost: header, cases: []testCaseMirror{ { name: "mirror-external", absent: true, percentage: 100.0,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.7K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/http.go
} // Use raw path, we don't want golang normalizing anything since we use this for testing purposes httpReq.URL.Opaque = cfg.urlPath // Use the host header as the host. httpReq.Host = cfg.hostHeader // Copy the headers. httpReq.Header = cfg.headers.Clone() writeForwardedHeaders(&outBuffer, requestID, cfg.headers) // Propagate previous response cookies if any if cfg.PropagateResponse != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 7.9K bytes - Viewed (0)