Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3521 - 3530 of 3,666 for hist (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        val call =
          client.newCallWithListener(
            Request
              .Builder()
              .url(
                server
                  .url("/")
                  .newBuilder()
                  .host(ipAddress!!)
                  .build(),
              ).build(),
          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    When raising an `HTTPException`, you can pass any value that can be converted to JSON as the parameter `detail`, not only `str`.
    
    You could pass a `dict`, a `list`, etc.
    
    They are handled automatically by **FastAPI** and converted to JSON.
    
    ///
    
    ## Add custom headers { #add-custom-headers }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            assertEquals(0, request.getCapabilities() & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION);
        }
    
        @Test
        @DisplayName("Should generate correct dialect list")
        void testDialectGeneration() {
            // Given
            when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB210);
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/MoreObjects.java

         * addValue()} methods, is not significant.
         *
         * <p><b>Note:</b> in general, code should assume that the string form returned by {@code
         * ToStringHelper} for a given object may change. In particular, the list of types which are
         * checked for emptiness is subject to change. We currently check {@code CharSequence}s, {@code
         * Collection}s, {@code Map}s, optionals (including Guava's), and arrays.
         *
         * @since 33.4.0
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

         * Test <a href="https://issues.apache.org/jira/browse/MNG-5568">MNG-5568</a> edge case
         * which was showing transitive inconsistency: since A &gt; B and B &gt; C then we should have A &gt; C
         * otherwise sorting a list of ComparableVersions() will in some cases throw runtime exception;
         * see Netbeans issues <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=240845">240845</a> and
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. docs/zh-hant/docs/tutorial/first-steps.md

    /// note
    
    如果你不知道差別,請查看 [Async: *"In a hurry?"*](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    ///
    
    ### 第五步:回傳內容
    
    {* ../../docs_src/first_steps/tutorial001.py h1[8] *}
    
    你可以返回一個 `dict`、`list`、單個值作為 `str`、`int` 等。
    
    你也可以返回 Pydantic 模型(稍後你會看到更多關於這方面的內容)。
    
    有很多其他物件和模型會自動轉換為 JSON(包括 ORMs,等等)。試用你最喜歡的,很有可能它們已經有支援。
    
    ## 回顧
    
    * 引入 `FastAPI`.
    * 建立一個 `app` 實例。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/first-steps.md

    /// note | 참고
    
    차이점을 모르겠다면 [Async: *"바쁘신 경우"*](../async.md#_1){.internal-link target=_blank}을 확인하세요.
    
    ///
    
    ### 5 단계: 콘텐츠 반환
    
    {* ../../docs_src/first_steps/tutorial001.py hl[8] *}
    
    `dict`, `list`, 단일값을 가진 `str`, `int` 등을 반환할 수 있습니다.
    
    Pydantic 모델을 반환할 수도 있습니다(나중에 더 자세히 살펴봅니다).
    
    JSON으로 자동 변환되는 객체들과 모델들(ORM 등을 포함해서)이 많이 있습니다. 가장 마음에 드는 것을 사용하십시오, 이미 지원되고 있을 것입니다.
    
    ## 요약
    
    * `FastAPI` 임포트.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDCacheImplTest.java

                    rpc.names.names = new lsarpc.LsarTranslatedName[1];
                    rpc.names.names[0] = new lsarpc.LsarTranslatedName();
                    rpc.names.names[0].sid_type = (short) jcifs.SID.SID_TYPE_UNKNOWN; // not in switch list
                    rpc.names.names[0].name = new UnicodeString("unknown", false);
                    rpc.names.names[0].sid_index = 0;
                    return null;
                }).when(handle).sendrecv(any());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    
    ```
    
    /// tip | 提示
    
    触发 `HTTPException` 时,可以用参数 `detail` 传递任何能转换为 JSON 的值,不仅限于 `str`。
    
    还支持传递 `dict`、`list` 等数据结构。
    
    **FastAPI** 能自动处理这些数据,并将之转换为 JSON。
    
    ///
    
    ## 添加自定义响应头
    
    有些场景下要为 HTTP 错误添加自定义响应头。例如,出于某些方面的安全需要。
    
    一般情况下可能不会需要在代码中直接使用响应头。
    
    但对于某些高级应用场景,还是需要添加自定义响应头:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. README.md

    ### Connection Pool Tuning
    
    ```java
    container.singleton("httpClient", HcHttpClient.class, client -> {
        client.setMaxConnections(200);          // Total connections
        client.setMaxConnectionsPerRoute(20);   // Per-host connections
        client.setConnectionTimeout(30000);     // Connection timeout
        client.setSocketTimeout(60000);         // Read timeout
    });
    ```
    
    ### Memory Management
    
    ```java
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top