- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 77 for StatusOK (0.24 sec)
-
tests/integration/security/sds_ingress/ingress_test.go
ingressutil.ExpectedResponse{StatusCode: http.StatusOK}) }) t.NewSubTest("request with client certificates").Run(func(t framework.TestContext) { // Send a TLS request with client certificates. ingressutil.SendRequestOrFail(t, ing, host, credName, ingressutil.Mtls, tlsContext, ingressutil.ExpectedResponse{StatusCode: http.StatusOK}) }) }) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 32.7K bytes - Viewed (0) -
pkg/serviceaccount/openidmetadata_test.go
if err != nil { t.Fatalf("Get(%s) = %v, %v want: <response>, <nil>", reqURL, resp, err) } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { t.Errorf("Get(%s) = %v, _ want: %v, _", reqURL, resp.StatusCode, http.StatusOK) } if got, want := resp.Header.Get("Content-Type"), "application/json"; got != want { t.Errorf("Get(%s) Content-Type = %q, _ want: %q, _", reqURL, got, want) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 02 01:53:17 UTC 2023 - 14.8K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
expectedRespStatus: http.StatusOK, }, // Test case - 2. // Delete deleted objects with quiet flag off. 2: { bucket: bucketName, objects: successRequest0, accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedContent: encodedSuccessResponse0, expectedRespStatus: http.StatusOK, }, // Test case - 3.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 39.8K bytes - Viewed (0) -
pkg/spiffe/spiffe_test.go
in: input1, extraCerts: serverCerts, statusCode: http.StatusOK, body: validSpiffeX509Bundle, wantNumCerts: 1, }, { name: "Success with multiple trust domains", in: input2, extraCerts: serverCerts, statusCode: http.StatusOK, body: validSpiffeX509Bundle, wantNumCerts: 1, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 18.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/request_deadline_test.go
statusCodeExpected: http.StatusOK, }, { name: "the request is long running, no deadline is expected to be set", requestURL: "/api/v1/namespaces?timeout=10s", longRunning: true, hasDeadlineExpected: false, handlerCallCountExpected: 1, statusCodeExpected: http.StatusOK, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 14 23:04:34 UTC 2022 - 16.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go
assert.NoError(err) data, _ := io.ReadAll(resp.Body) if http.StatusOK != resp.StatusCode { t.Logf("got %d", resp.StatusCode) t.Log(string(data)) return false, nil } return true, nil })) resp, err = http.Get(server.URL + "/healthz/ping") assert.NoError(err) assert.Equal(http.StatusOK, resp.StatusCode) } func TestUpdateOpenAPISpec(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 23.2K bytes - Viewed (0) -
pkg/kubelet/config/http_test.go
data, err := json.Marshal(testCase.pod) if err != nil { t.Fatalf("%s: Some weird json problem: %v", testCase.desc, err) } fakeHandler := utiltesting.FakeHandler{ StatusCode: http.StatusOK, ResponseBody: string(data), } testServer := httptest.NewServer(&fakeHandler) defer testServer.Close() ch := make(chan interface{}, 1)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 14 09:38:23 UTC 2022 - 11.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go
} if resp.StatusCode != http.StatusOK { defer resp.Body.Close() body, err := ioutil.ReadAll(resp.Body) if err != nil { return nil, fmt.Errorf("failed to read response body and status code is %d, error: %v", resp.StatusCode, err) } return nil, fmt.Errorf("expect response status code: %d, but got: %d. response body: %s", http.StatusOK, resp.StatusCode, body) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 17 12:58:54 UTC 2021 - 13.9K bytes - Viewed (0) -
cmd/object-lambda-handlers.go
"Switching Protocols": http.StatusSwitchingProtocols, "Processing": http.StatusProcessing, "Early Hints": http.StatusEarlyHints, "OK": http.StatusOK, "Created": http.StatusCreated, "Accepted": http.StatusAccepted, "Non-Authoritative Information": http.StatusNonAuthoritativeInfo,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 10.2K bytes - Viewed (0) -
pkg/probe/http/http_test.go
health probe.Result accBody string notBody string }{ // The probe will be filled in below. This is primarily testing that an HTTP GET happens. { handler: handleReq(http.StatusOK, "ok body"), health: probe.Success, accBody: "ok body", }, { handler: headerCounterHandler, reqHeaders: http.Header{}, health: probe.Success, accBody: "3", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:40:08 UTC 2023 - 15.7K bytes - Viewed (0)