- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 193 for StatusOK (0.15 sec)
-
internal/s3select/select_test.go
if err = s3Select.Open(newStringRSC(in)); err != nil { t.Fatal(err) } w := &testResponseWriter{} s3Select.Evaluate(w) s3Select.Close() resp := http.Response{ StatusCode: http.StatusOK, Body: io.NopCloser(bytes.NewReader(w.response)), ContentLength: int64(len(w.response)), } res, err := minio.NewSelectResults(&resp, "testbucket") if err != nil { t.Error(err)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 76.2K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go
tf.UnstructuredClient = &fake.RESTClient{ NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer, Resp: &http.Response{ StatusCode: http.StatusOK, Header: cmdtesting.DefaultHeader(), Body: cmdtesting.ObjBody(codec, cmdtesting.NewInternalType("", "", "foo")), }, } return tf }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 21:51:29 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/test/echo/server/endpoint/udp.go
ip, _, _ := net.SplitHostPort(conn.String()) // Write non-request fields specific to the instance out := &strings.Builder{} echo.StatusCodeField.Write(out, strconv.Itoa(http.StatusOK)) echo.ClusterField.WriteNonEmpty(out, s.Cluster) echo.IstioVersionField.WriteNonEmpty(out, s.IstioVersion) echo.NamespaceField.WriteNonEmpty(out, s.Namespace) echo.ServiceVersionField.Write(out, s.Version)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 16:20:31 UTC 2023 - 3.4K bytes - Viewed (0) -
tests/integration/security/egress_sidecar_tls_origination_test.go
credentialToUse: credNameGeneric, from: apps.Ns1.A, drSelector: "a", authorizeSidecar: true, expectedResponse: ingressutil.ExpectedResponse{ StatusCode: http.StatusOK, }, }, // Mutual TLS origination from an unauthorized sidecar to https endpoint // This will result in a 503 with the UH flag because the cluster will // stay warming until a valid secret is sent.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
src/net/http/filetransport.go
pr.res.StatusCode = code pr.res.Status = fmt.Sprintf("%d %s", code, StatusText(code)) } func (pr *populateResponse) Write(p []byte) (n int, err error) { if !pr.wroteHeader { pr.WriteHeader(StatusOK) } pr.hasContent = true if !pr.sentResponse { pr.sendResponse() } return pr.pw.Write(p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/log/uds.go
} resp, err := u.client.Post(u.url, "application/json", bytes.NewReader(msg)) if err != nil { return fmt.Errorf("failed to send logs to uds server %v: %v", u.url, err) } if resp.StatusCode != http.StatusOK { return fmt.Errorf("uds server returns non-ok status %v: %v", u.url, resp.Status) } return nil } // Write implements zapcore.Core. Log messages will be temporarily buffered and sent to
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 16 00:20:01 UTC 2024 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/httplog/httplog.go
klog.V(2).Info(fmt.Sprintf(format, data...)) } // DefaultStacktracePred is the default implementation of StacktracePred. func DefaultStacktracePred(status int) bool { return (status < http.StatusOK || status >= http.StatusInternalServerError) && status != http.StatusSwitchingProtocols } const withLoggingLevel = 3 // WithLogging wraps the handler with logging.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 10:10:35 UTC 2023 - 9.7K bytes - Viewed (0) -
internal/rest/client.go
// If trace is enabled, dump http request and response, // except when the traceErrorsOnly enabled and the response's status code is ok if c.TraceOutput != nil && resp.StatusCode != http.StatusOK { c.dumpHTTP(req, resp) } if resp.StatusCode != http.StatusOK { // If server returns 412 pre-condition failed, it would // mean that authentication succeeded, but another // side-channel check has failed, we shall take
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 14.4K bytes - Viewed (0) -
samples/jwt-server/src/main.go
return } // If delay parameter is provided and valid, add delay if delayDuration > 0 { time.Sleep(delayDuration) } } response.WriteHeader(http.StatusOK) response.Write([]byte(string(jwtKey))) } func (s *JWTServer) startHTTP(address string, wg *sync.WaitGroup) { defer func() { wg.Done() log.Printf("Stopped JWT HTTP server") }()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 16 23:56:50 UTC 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
tf.UnstructuredClient = &fake.RESTClient{ NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer, Resp: &http.Response{ StatusCode: http.StatusOK, Header: cmdtesting.DefaultHeader(), Body: cmdtesting.ObjBody(codec, cmdtesting.NewInternalType("", "", "foo")), }, } return tf }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 4.5K bytes - Viewed (0)