Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 168 for StatusCode (0.12 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

        mlir_module_ =
            mlir::parseSourceFile<mlir::ModuleOp>(mlir_module_path, &context_);
        if (!mlir_module_) {
          return absl::Status(
              absl::StatusCode::kNotFound,
              absl::StrCat("Could not find MLIR module at ", mlir_module_path));
        }
        return absl::OkStatus();
      }
    
      DialectRegistry registry_;
      MLIRContext context_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. docs/logging/README.md

      "time": "2024-05-09T07:38:10.449688982Z",
      "event": "",
      "trigger": "incoming",
      "api": {
        "name": "PutObject",
        "bucket": "testbucket",
        "object": "hosts",
        "status": "OK",
        "statusCode": 200,
        "rx": 401,
        "tx": 0,
        "timeToResponse": "13309747ns",
        "timeToResponseInNS": "13309747"
      },
      "remotehost": "127.0.0.1",
      "requestID": "17CDC1F4D7E69123",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 17:15:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. istioctl/pkg/internaldebug/internal-debug_test.go

    		_, _, codec := cmdtesting.NewExternalScheme()
    		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)
  5. internal/config/identity/openid/providercfg.go

    	}
    
    	client := &http.Client{
    		Transport: transport,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		return nil, err
    	}
    
    	defer xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		// uncomment this for debugging when needed.
    		// reqBytes, _ := httputil.DumpRequest(req, false)
    		// fmt.Println(string(reqBytes))
    		// respBytes, _ := httputil.DumpResponse(resp, true)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. cmd/http-stats.go

    		bh.httpStats[bucket] = hstats
    		return
    	} // else {
    	hstats.currentS3Requests.Dec(api) // decrement this once we have the response recorder.
    
    	hstats.totalS3Requests.Inc(api)
    	code := w.StatusCode
    
    	switch {
    	case code == 0:
    	case code == 499:
    		// 499 is a good error, shall be counted as canceled.
    		hstats.totalS3Canceled.Inc(api)
    	case code >= http.StatusBadRequest:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 06:25:13 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. internal/grid/trace.go

    				Client:  local,
    				Headers: nil,
    				Path:    t.Subroute,
    				Body:    []byte(body),
    			},
    			RespInfo: madmin.TraceResponseInfo{
    				Time:       end,
    				Headers:    nil,
    				StatusCode: status,
    				Body:       []byte(bytesOrLength(resp)),
    			},
    			CallStats: madmin.TraceCallStats{
    				InputBytes:      len(req),
    				OutputBytes:     len(resp),
    				TimeToFirstByte: end.Sub(start),
    			},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

        mlir_module_ =
            mlir::parseSourceFile<mlir::ModuleOp>(mlir_module_path, &context_);
        if (!mlir_module_) {
          return absl::Status(
              absl::StatusCode::kNotFound,
              absl::StrCat("Could not find MLIR module at ", mlir_module_path));
        }
        return absl::OkStatus();
      }
    
      DialectRegistry registry_;
      MLIRContext context_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          } catch (e: IOException) {
            failConnection(e)
          }
        }
      }
    
      @Throws(IOException::class)
      internal fun writeSynReset(
        streamId: Int,
        statusCode: ErrorCode,
      ) {
        writer.rstStream(streamId, statusCode)
      }
    
      internal fun writeWindowUpdateLater(
        streamId: Int,
        unacknowledgedBytesRead: Long,
      ) {
        writerQueue.execute("$connectionName[$streamId] windowUpdate") {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. pkg/spiffe/spiffe.go

    			} else if resp == nil {
    				errMsg = fmt.Sprintf("Calling %s failed with nil response", endpoint)
    			} else if resp.StatusCode != http.StatusOK {
    				b := make([]byte, 1024)
    				n, _ := resp.Body.Read(b)
    				errMsg = fmt.Sprintf("Calling %s failed with unexpected status: %v, fetching bundle: %s",
    					endpoint, resp.StatusCode, string(b[:n]))
    			} else {
    				break
    			}
    
    			if startTime.Add(retryTimeout).Before(time.Now()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top