Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1241 - 1250 of 1,524 for helper (0.04 seconds)

  1. docs/tr/docs/tutorial/middleware.md

    Ayrıca `response` üretildikten sonra, geri döndürmeden önce de kod çalıştırabilirsiniz.
    
    Örneğin, request'i işleyip response üretmenin kaç saniye sürdüğünü içeren `X-Process-Time` adlı özel bir header ekleyebilirsiniz:
    
    {* ../../docs_src/middleware/tutorial001_py310.py hl[10,12:13] *}
    
    /// tip | İpucu
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableList;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.8K bytes
    - Click Count (0)
  3. api/go1.8.txt

    pkg net/http, type PushOptions struct, Header Header
    pkg net/http, type PushOptions struct, Method string
    pkg net/http, type Request struct, GetBody func() (io.ReadCloser, error)
    pkg net/http, type Server struct, IdleTimeout time.Duration
    pkg net/http, type Server struct, ReadHeaderTimeout time.Duration
    pkg net/http, type Transport struct, ProxyConnectHeader Header
    pkg net/http, var ErrAbortHandler error
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

            }
          }
        };
    
        RequestBody requestBody = RequestBody.create(
          new File("docs/images/logo-square.png"),
          MEDIA_TYPE_PNG);
    
        Request request = new Request.Builder()
          .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID)
          .url("https://api.imgur.com/3/image")
          .post(new ProgressRequestBody(requestBody, progressListener))
          .build();
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  5. docs/uk/docs/tutorial/cookie-param-models.md

    /// note | Примітка
    
    Це підтримується з версії FastAPI `0.115.0`. 🤓
    
    ///
    
    /// tip | Порада
    
    Ця ж техніка застосовується до `Query`, `Cookie` та `Header`. 😎
    
    ///
    
    ## Cookie з Pydantic-моделлю { #cookies-with-a-pydantic-model }
    
    Оголосіть **cookie**-параметри, які вам потрібні, у **Pydantic-моделі**, а потім оголосіть параметр як `Cookie`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:42:01 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  6. docs/tr/docs/advanced/strict-content-type.md

    # Sıkı Content-Type Kontrolü { #strict-content-type-checking }
    
    Varsayılan olarak FastAPI, JSON request body'leri için sıkı Content-Type header kontrolü uygular. Bu, JSON request'lerin body'lerinin JSON olarak parse edilebilmesi için geçerli bir Content-Type header'ı (örn. application/json) içermesi gerektiği anlamına gelir.
    
    ## CSRF Riski { #csrf-risk }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  7. docs/uk/docs/advanced/middleware.md

    ## `TrustedHostMiddleware` { #trustedhostmiddleware }
    
    Примушує, щоб усі вхідні запити мали коректно встановлений заголовок `Host`, щоб захиститися від атак HTTP Host Header.
    
    {* ../../docs_src/advanced_middleware/tutorial002_py310.py hl[2,6:8] *}
    
    Підтримуються такі аргументи:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/cookie-param-models.md

    如果你有一組彼此相關的「**Cookie**」,你可以建立一個「**Pydantic 模型**」來宣告它們。🍪
    
    這樣你就能在**多處**重複使用該模型,並且能一次性為所有參數宣告**驗證**與**中繼資料**。😎
    
    /// note | 注意
    
    自 FastAPI 版本 `0.115.0` 起支援。🤓
    
    ///
    
    /// tip
    
    同樣的技巧也適用於 `Query`、`Cookie` 與 `Header`。😎
    
    ///
    
    ## 以 Pydantic 模型宣告 Cookie { #cookies-with-a-pydantic-model }
    
    在 **Pydantic 模型**中宣告所需的 **Cookie** 參數,接著將參數宣告為 `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/HashFunction.java

     *       they appear. Input data is never modified. {@link HashFunction} instances should always be
     *       stateless, and therefore thread-safe.
     *   <li><b>collision-averse:</b> while it can't be helped that a hash function will sometimes
     *       produce the same hash code for distinct inputs (a "collision"), every hash function strives
     *       to <i>some</i> degree to make this unlikely. (Without this condition, a function that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/math/PairedStats.java

        if (value >= 1.0) {
          return 1.0;
        }
        if (value <= -1.0) {
          return -1.0;
        }
        return value;
      }
    
      // Serialization helpers
    
      /** The size of byte array representation in bytes. */
      private static final int BYTES = Stats.BYTES * 2 + Double.SIZE / Byte.SIZE;
    
      /**
       * Gets a byte array representation of this instance.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top