- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ExpectedMap (0.22 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/addresses_test.go
publicIP := "1.1.1.1" testCases := []struct { Request http.Request ExpectedMap []metav1.ServerAddressByClientCIDR }{ { Request: http.Request{}, ExpectedMap: publicAddressCIDRMap, }, { Request: http.Request{ Header: map[string][]string{ "X-Real-Ip": {internalIP}, }, }, ExpectedMap: internalAddressCIDRMap, }, { Request: http.Request{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 20 08:42:09 UTC 2021 - 2.7K bytes - Viewed (0) -
src/net/http/cgi/integration_test.go
h := &Handler{ Path: os.Args[0], Root: "/test.go", } expectedMap := map[string]string{ "nil-request-body": "false", } _ = runCgiTest(t, h, "POST /test.go?nil-request-body=1 HTTP/1.0\nHost: example.com\n\n", expectedMap) _ = runCgiTest(t, h, "POST /test.go?nil-request-body=1 HTTP/1.0\nHost: example.com\nContent-Length: 0\n\n", expectedMap) } func TestChildContentType(t *testing.T) { testenv.MustHaveExec(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 18:42:44 UTC 2023 - 5.5K bytes - Viewed (0)