- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for StatusCode (0.14 sec)
-
src/net/http/serve_test.go
// to ensure that's not the case. time.Sleep(2 * timeout) res, err := c.Get(ts.URL) if err != nil { t.Fatal(err) } defer res.Body.Close() if res.StatusCode != StatusNoContent { t.Errorf("got res.StatusCode %d, want %v", res.StatusCode, StatusNoContent) } } func TestTimeoutHandlerContextCanceled(t *testing.T) { run(t, testTimeoutHandlerContextCanceled) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
cmd/object-handlers.go
return } okSt := (ci.StatusCode == http.StatusOK || ci.StatusCode == http.StatusPartialContent || ci.StatusCode == http.StatusPreconditionFailed || ci.StatusCode == http.StatusNotModified) if okSt { ci.WriteHeaders(w, func() { // set common headers setCommonHeaders(w) }, func() { okSt := (ci.StatusCode == http.StatusOK || ci.StatusCode == http.StatusPartialContent)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 124.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
return tflite::TensorType_COMPLEX128; } return Status(absl::StatusCode::kInvalidArgument, "Unsupported type"); } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(type)) { switch (itype.getWidth()) { case 1: return tflite::TensorType_BOOL; case 4: if (itype.isUnsigned()) { return Status(absl::StatusCode::kInvalidArgument,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
src/net/http/server.go
// sent, but not with 1xx headers. // // The server will automatically send a 100 (Continue) header // on the first read from the request body if the request has // an "Expect: 100-continue" header. WriteHeader(statusCode int) } // The Flusher interface is implemented by ResponseWriters that allow // an HTTP handler to flush buffered data to the client. // // The default HTTP/1.x and HTTP/2 [ResponseWriter] implementations
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0)