- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for HostHeader (0.1 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) -
pkg/test/echo/server/forwarder/util.go
"golang.org/x/net/proxy" "istio.io/istio/pkg/hbone" "istio.io/istio/pkg/log" "istio.io/istio/pkg/test/echo" "istio.io/istio/pkg/test/echo/common" "istio.io/istio/pkg/test/echo/proto" ) const ( hostHeader = "Host" ) var fwLog = log.RegisterScope("forwarder", "echo clientside") func writeForwardedHeaders(out *bytes.Buffer, requestID int, header http.Header) { for key, values := range header {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 4.4K 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)