Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1471 - 1480 of 1,709 for Response_ (0.07 seconds)

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

      private operator fun get(url: HttpUrl) {
        val call =
          client.newCall(
            Request
              .Builder()
              .url(url)
              .build(),
          )
        val response = call.execute()
        response.body.close()
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            assertSame(loc, res);
            // No connect attempts expected
            verify(c, never()).connectWrapException(any());
        }
    
        @Test
        @DisplayName("send retries on transport errors and restores request/response state")
        void send_retries_on_transportError() throws Exception {
            // Create a spy to track method calls
            SmbTreeConnection c = spy(newConn());
    
            // Prepare a minimal locator
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

                    if ("system".equals(msg.getRole())) {
                        captured.append(msg.getContent());
                    }
                }
                callback.onChunk("response", true);
            });
    
            client.generateSummaryResponse("summarize", documents, history, (chunk, done) -> {});
    
            final String systemMsg = captured.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         *
         * @param buf the buffer containing the transaction data
         * @param off the offset in the buffer
         * @param length the length of data to send
         * @param inB the buffer to receive the response
         * @param maxRecvCnt the maximum number of bytes to receive
         * @return len the number of bytes received
         * @throws IOException if an I/O error occurs
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            public TestCorsHandler(String name) {
                this.name = name;
            }
    
            @Override
            public void process(String origin, ServletRequest request, ServletResponse response) {
                // Test implementation - no operation
            }
    
            public String getName() {
                return name;
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/background-tasks.md

    Il est tout de même possible d'utiliser `BackgroundTask` seul dans **FastAPI**, mais dans ce cas il faut créer l'objet dans le code et renvoyer une `Response` Starlette l'incluant.
    
    Plus de détails sont disponibles dans [la documentation officielle de Starlette sur les tâches d'arrière-plan](https://www.starlette.dev/background/).
    
    ## Avertissement { #caveat }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/dataclasses.md

    /// info | 信息
    
    请注意,数据类不能完成 Pydantic 模型能做的所有事情。
    
    因此,你可能仍然需要使用 Pydantic 模型。
    
    但如果你已有一堆数据类,这个技巧可以让它们很好地为使用 FastAPI 的 Web API 所用。🤓
    
    ///
    
    ## 在 `response_model` 中使用数据类 { #dataclasses-in-response-model }
    
    你也可以在 `response_model` 参数中使用 `dataclasses`:
    
    {* ../../docs_src/dataclasses_/tutorial002_py310.py hl[1,6:12,18] *}
    
    该数据类会被自动转换为 Pydantic 的数据类。
    
    这样,它的模式会显示在 API 文档界面中:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. docs/zh/docs/how-to/custom-request-and-route.md

    你也可以设置 `APIRouter` 的 `route_class` 参数:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    在此示例中,`router` 下的路径操作将使用自定义的 `TimedRoute` 类,响应中会多一个 `X-Response-Time` 头,包含生成响应所用的时间:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseCreator.java

    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.search.SearchHit;
    
    /**
     * Creates SuggestResponse instances from OpenSearch search results.
     *
     * <p>This class encapsulates the response creation logic extracted from SuggestRequest,
     * including duplicate word handling and first-word matching prioritization.</p>
     */
    public class SuggestResponseCreator {
    
        private final String query;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  10. src/main/resources/fess_label_en.properties

    labels.start=Start
    labels.loginRequired=Login Required
    labels.loginLink=Show Login Link
    labels.threadName=Thread Name
    labels.url=URL
    labels.userFavorite=Favorite Log
    labels.userInfo=User Info
    labels.webApiJson=JSON Response
    labels.webConfigName=Web Crawl Config Name
    labels.allLanguages=All Languages
    labels.dictId=Dictionary ID
    labels.docId=Document ID
    labels.endTime=End Time
    labels.hq=hq
    labels.inputs=Inputs
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 48.9K bytes
    - Click Count (0)
Back to Top