Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1701 - 1710 of 1,943 for Responses (0.05 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

            in 100..199 -> "Informational"
            in 200..299 -> "OK"
            in 300..399 -> "Redirection"
            in 400..499 -> "Client Error"
            in 500..599 -> "Server Error"
            else -> "Mock Response"
          }
        return apply { status = "HTTP/1.1 $code $reason" }
      }
    
      fun clearHeaders() =
        apply {
          headersBuilder = Headers.Builder()
        }
    
      fun addHeader(header: String) =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 7.1K bytes
    - Click Count (1)
  8. docs/en/docs/tutorial/stream-json-lines.md

    It could even be an infinite stream, where you keep sending data.
    
    ## JSON Lines { #json-lines }
    
    In these cases, it's common to send "**JSON Lines**", which is a format where you send one JSON object per line.
    
    A response would have a content type of `application/jsonl` (instead of `application/json`) and the body would be something like:
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/json-base64-bytes.md

    ## Base64 とファイル { #base64-vs-files }
    
    バイナリデータのアップロードにはまず、JSON にエンコードする代わりに [Request Files](../tutorial/request-files.md) を、バイナリデータの送信には [カスタムレスポンス - FileResponse](./custom-response.md#fileresponse--fileresponse-) を使えるか検討してください。
    
    JSON は UTF-8 でエンコードされた文字列のみを含められるため、生のバイト列は含められません。
    
    Base64 はバイナリデータを文字列にエンコードできますが、そのために元のバイナリより多くの文字を使用する必要があり、通常は通常のファイルより非効率です。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. docs/pt/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Nesse exemplo, as *operações de rota* sob o `router` irão usar a classe `TimedRoute` personalizada, e terão um cabeçalho extra `X-Response-Time` na resposta com o tempo que levou para gerar a resposta:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.9K bytes
    - Click Count (0)
Back to Top