Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 519 for 5007 (0.2 sec)

  1. docs/zh/docs/tutorial/handling-errors.md

    **FastAPI** 调用的就是 `RequestValidationError` 类,因此,如果在 `response_model` 中使用 Pydantic 模型,且数据有错误时,在日志中就会看到这个错误。
    
    但客户端或用户看不到这个错误。反之,客户端接收到的是 HTTP 状态码为 `500` 的「内部服务器错误」。
    
    这是因为在*响应*或代码(不是在客户端的请求里)中出现的 Pydantic `ValidationError` 是代码的 bug。
    
    修复错误时,客户端或用户不能访问错误的内部信息,否则会造成安全隐患。
    
    ### 覆盖 `HTTPException` 错误处理器
    
    同理,也可以覆盖 `HTTPException` 处理器。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals((byte) 0x00, getFieldValue(netServerEnum2, "maxSetupCount"));
            assertEquals(0, getFieldValue(netServerEnum2, "setupCount"));
            assertEquals(5000, getFieldValue(netServerEnum2, "timeout"));
        }
    
        @Test
        @DisplayName("Test constructor with empty domain")
        void testConstructorEmptyDomain() {
            String domain = "";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportImplTest.java

                assertNotNull(hash1);
                assertEquals(64, hash1.length, "SHA-512 size");
    
                byte[] hash2 = transport.calculatePreauthHash(new byte[] { 50 }, 0, 1, hash1);
                assertNotNull(hash2);
                assertEquals(64, hash2.length);
                assertNotEquals(new String(hash1), new String(hash2), "Chained hash should differ");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractBiMap.java

    /*
     * Copyright (C) 2007 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    /*
     * Copyright (C) 2007 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. docs/site-replication/run-replication-with-checksum-header.sh

    ./mc ready minio1 --insecure
    ./mc ready minio2 --insecure
    
    # Prepare data for tests
    echo -n "Preparing test data ..."
    mkdir -p /tmp/data
    echo "Hello World" >/tmp/data/obj
    touch /tmp/data/mpartobj
    shred -s 500M /tmp/data/mpartobj
    echo "done"
    
    # Add replication site
    ./mc admin replicate add minio1 minio2 --insecure
    # sleep for replication to complete
    sleep 30
    
    # Create bucket in source cluster
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                            startLatch.await();
                            String result = backpressureCircuitBreaker.executeWithCircuitBreaker(() -> {
                                try {
                                    Thread.sleep(500); // Hold resources
                                    return "success";
                                } catch (InterruptedException e) {
                                    throw new RuntimeException(e);
                                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. src/main/resources/fess_label_fr.properties

    labels.facet_contentLength_100kto500k=100 Ko - 500 Ko
    labels.facet_contentLength_500kto1m=500 Ko - 1 Mo
    labels.facet_contentLength_1m=1 Mo -  
    labels.facet_contentLength_10kto50k=10 Ko - 50 Ko
    labels.facet_contentLength_50kto100k=50 Ko - 100 Ko
    labels.facet_contentLength_100kto250k=100 Ko - 250 Ko
    labels.facet_contentLength_250kto500k=250 Ko - 500 Ko
    labels.facet_contentLength_1mto5m=1 Mo - 5 Mo
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 49.2K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/adminlte.min.js

    e[0].nodeName&&"TR"!==(e=e.parent())[0].nodeName&&(e=e.parent());var t=e.attr(ee),a=e.next(Y).children().first().children();a.stop(),"true"===t?(a.slideUp(500,(function(){e.next(Y).addClass("d-none")})),e.attr(ee,"false"),e.trigger(n.default.Event("collapsed.lte.expandableTable"))):"false"===t&&(e.next(Y).removeClass("d-none"),a.slideDown(500),e.attr(ee,"true"),e.trigger(n.default.Event("expanded.lte.expandableTable")))},e._jQueryInterface=function(t){return this.each((function(){var a=n.default...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          Header(RESPONSE_STATUS, "204"),
          Header(RESPONSE_STATUS, "206"),
          Header(RESPONSE_STATUS, "304"),
          Header(RESPONSE_STATUS, "400"),
          Header(RESPONSE_STATUS, "404"),
          Header(RESPONSE_STATUS, "500"),
          Header("accept-charset", ""),
          Header("accept-encoding", "gzip, deflate"),
          Header("accept-language", ""),
          Header("accept-ranges", ""),
          Header("accept", ""),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top