Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 163 for StatusCode (0.43 sec)

  1. cmd/warm-backend-gcs.go

    				Bucket: bucket,
    				Object: object,
    			}
    		}
    		return err
    	}
    
    	googleAPIErr, ok := err.(*googleapi.Error)
    	if !ok {
    		// We don't interpret non MinIO errors. As minio errors will
    		// have StatusCode to help to convert to object errors.
    		return err
    	}
    
    	if len(googleAPIErr.Errors) == 0 {
    		return err
    	}
    
    	reason := googleAPIErr.Errors[0].Reason
    	message := googleAPIErr.Errors[0].Message
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/net/http/transport_internal_test.go

    					n, _ := io.Copy(io.Discard, r.Body)
    					if n == 0 {
    						t.Error("body length is zero")
    					}
    					if roundTripped {
    						return &Response{
    							Body:       NoBody,
    							StatusCode: 200,
    						}, nil
    					}
    					roundTripped = true
    					return nil, http2noCachedConnError{}
    				})
    			},
    		},
    		DialTLS: func(_, _ string) (net.Conn, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:57:17 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/status/server.go

    	)
    
    	resp, err := s.http.Do(req)
    	if err != nil {
    		return nil, cancel, "", fmt.Errorf("error scraping %s: %v", url, err)
    	}
    	if resp.StatusCode != http.StatusOK {
    		resp.Body.Close()
    		return nil, cancel, "", fmt.Errorf("error scraping %s, status code: %v", url, resp.StatusCode)
    	}
    	format := resp.Header.Get("Content-Type")
    	return resp.Body, cancel, format, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

      const absl::StatusOr<std::optional<SaverDef>> saver_def =
          CreateSaverDef(control_ret_node_names, graph_def);
      EXPECT_THAT(
          saver_def,
          StatusIs(
              absl::StatusCode::kInternal,
              HasSubstr(
                  "should be either all empty strings or all non-empty strings")));
    }
    
    // Testing ConvertMlirModuleToExportedModel requires parsing MLIR string to
    // ModuleOp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. internal/config/cache/cache.go

    	if err != nil {
    		return nil, err
    	}
    
    	resp, err := c.clnt.Do(req)
    	if err != nil {
    		return nil, err
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	switch resp.StatusCode {
    	case http.StatusNotFound:
    		return nil, ErrKeyMissing
    	case http.StatusOK:
    		co := &ObjectInfo{}
    		return co, co.DecodeMsg(msgp.NewReader(resp.Body))
    	default:
    		return nil, ErrInvalidArgument
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc

        GraphdefToSplattedMlirTranslateFunction);
    
    static Status CompileGraph(tensorflow::Graph* graph,
                               xla::CompileOnlyClient* client) {
      if (!graph || !client) {
        return Status(absl::StatusCode::kInvalidArgument,
                      "Invalid graph or client");
      }
    
      tensorflow::FunctionDefLibrary flib;
      auto flib_def = std::make_unique<tensorflow::FunctionLibraryDefinition>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

         */
        void expectPut(String path, File destFile, int statusCode = HttpStatus.OK_200, PasswordCredentials credentials = null, long expectedContentLength = -1) {
            def action = new ActionSupport("write request to $destFile.name (content length: $expectedContentLength) and return status $statusCode") {
                void handle(HttpServletRequest request, HttpServletResponse response) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    		t.Helper()
    		res, err := c.Do(req)
    		if err != nil {
    			t.Fatalf("%s: Do: %v", name, err)
    		}
    		if res.StatusCode != wantCode {
    			t.Fatalf("%s: Response Statuscode=%d; want %d", name, res.StatusCode, wantCode)
    		}
    		if id, idBack := req.Header.Get("Request-Id"), res.Header.Get("Echo-Request-Id"); id != "" && id != idBack {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report_test.cc

      ASSERT_TRUE(succeeded(run_result));
    
      // The report file is not created because `QuantizeCompositeFunctionsPass` was
      // not run.
      EXPECT_THAT(ReadFileToString(report_file_path),
                  StatusIs(absl::StatusCode::kNotFound));
    }
    
    TEST_F(SaveQuantizationReportInstrumentationTest,
           ReportNotSavedWhenReportFilePathIsNullopt) {
      constexpr absl::string_view kModuleWithCompositeDotGeneral = R"mlir(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/security/http-basic-auth.md

    ### Den Error zurückgeben
    
    Nachdem Sie festgestellt haben, dass die Anmeldeinformationen falsch sind, geben Sie eine `HTTPException` mit dem Statuscode 401 zurück (derselbe, der auch zurückgegeben wird, wenn keine Anmeldeinformationen angegeben werden) und fügen den Header `WWW-Authenticate` hinzu, damit der Browser die Anmeldeaufforderung erneut anzeigt:
    
    === "Python 3.9+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:28:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top