Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,997 for responsive (0.19 seconds)

  1. docs/pt/docs/advanced/response-change-status-code.md

    Mas você ainda quer ser capaz de filtrar e converter o dado que você retornará com um `response_model`.
    
    Para estes casos, você pode utilizar um parâmetro `Response`.
    
    ## Use um parâmetro `Response` { #use-a-response-parameter }
    
    Você pode declarar um parâmetro do tipo `Response` em sua *função de operação de rota* (assim como você pode fazer para cookies e headers).
    
    E então você pode definir o `status_code` neste objeto de retorno *temporal*.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/response-change-status-code.md

    # 回應 - 變更狀態碼 { #response-change-status-code }
    
    你可能已經讀過,可以設定預設的[回應狀態碼](../tutorial/response-status-code.md)。
    
    但有些情況你需要回傳與預設不同的狀態碼。
    
    ## 使用情境 { #use-case }
    
    例如,假設你預設想回傳 HTTP 狀態碼 "OK" `200`。
    
    但如果資料不存在,你想要建立它,並回傳 HTTP 狀態碼 "CREATED" `201`。
    
    同時你仍希望能用 `response_model` 過濾並轉換所回傳的資料。
    
    在這些情況下,你可以使用 `Response` 參數。
    
    ## 使用 `Response` 參數 { #use-a-response-parameter }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  3. docs/de/docs/advanced/response-change-status-code.md

    In diesen Fällen können Sie einen `Response`-Parameter verwenden.
    
    ## Einen `Response`-Parameter verwenden { #use-a-response-parameter }
    
    Sie können einen Parameter vom Typ `Response` in Ihrer *Pfadoperation-Funktion* deklarieren (wie Sie es auch für Cookies und Header tun können).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/response-change-status-code.md

    Para esos casos, puedes usar un parámetro `Response`.
    
    ## Usa un parámetro `Response` { #use-a-response-parameter }
    
    Puedes declarar un parámetro de tipo `Response` en tu *path operation function* (como puedes hacer para cookies y headers).
    
    Y luego puedes establecer el `status_code` en ese objeto de response *temporal*.
    
    {* ../../docs_src/response_change_status_code/tutorial001_py310.py hl[1,9,12] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  5. docs/ru/docs/advanced/response-change-status-code.md

    При этом вы всё ещё хотите иметь возможность фильтровать и преобразовывать возвращаемые данные с помощью `response_model`.
    
    Для таких случаев вы можете использовать параметр `Response`.
    
    ## Использование параметра `Response` { #use-a-response-parameter }
    
    Вы можете объявить параметр типа `Response` в вашей *функции обработки пути* (как и для cookies и HTTP-заголовков).
    
    И затем вы можете установить `status_code` в этом *временном* объекте ответа.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. docs/zh/docs/advanced/response-change-status-code.md

    # 响应 - 更改状态码 { #response-change-status-code }
    
    你可能之前已经了解到,你可以设置默认的[响应状态码](../tutorial/response-status-code.md)。
    
    但在某些情况下,你需要返回一个不同于默认值的状态码。
    
    ## 使用场景 { #use-case }
    
    例如,假设你想默认返回一个HTTP状态码为“OK”`200`。
    
    但如果数据不存在,你想创建它,并返回一个HTTP状态码为“CREATED”`201`。
    
    但你仍然希望能够使用`response_model`过滤和转换你返回的数据。
    
    对于这些情况,你可以使用一个`Response`参数。
    
    ## 使用 `Response` 参数 { #use-a-response-parameter }
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  7. docs/ja/docs/advanced/response-change-status-code.md

    # レスポンス - ステータスコードの変更 { #response-change-status-code }
    
    すでに、デフォルトの[レスポンスのステータスコード](../tutorial/response-status-code.md)を設定できることをご存知かもしれません。
    
    しかし場合によっては、デフォルトとは異なるステータスコードを返す必要があります。
    
    ## ユースケース { #use-case }
    
    たとえば、デフォルトでは HTTP ステータスコード "OK" `200` を返したいとします。
    
    しかし、データが存在しなければそれを作成し、HTTP ステータスコード "CREATED" `201` を返したい。
    
    それでも、返すデータは `response_model` でフィルタ・変換できるようにしておきたい。
    
    そのような場合は `Response` パラメータを使えます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/sso/SsoAuthenticator.java

         */
        void resolveCredential(LoginCredentialResolver resolver);
    
        /**
         * Gets the action response for the specified SSO response type.
         * @param responseType The type of SSO response required.
         * @return The action response.
         */
        ActionResponse getResponse(SsoResponseType responseType);
    
        /**
         * Performs logout for the specified user.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (1)
  9. docs/features/calls.md

    `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present. If you’ve got cookies, OkHttp will add a `Cookie` header with them.
    
    Some requests will have a cached response. When this cached response isn’t fresh, OkHttp can do a _conditional GET_ to download an updated response if it’s newer than what’s cached. This requires headers like `If-Modified-Since` and `If-None-Match` to be added....
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt

     *
     * [rfc_6265_53]: https://tools.ietf.org/html/rfc6265#section-5.3
     */
    interface CookieJar {
      /**
       * Saves [cookies] from an HTTP response to this store according to this jar's policy.
       *
       * Note that this method may be called a second time for a single HTTP response if the response
       * includes a trailer. For this obscure HTTP feature, [cookies] contains only the trailer's
       * cookies.
       */
      fun saveFromResponse(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top