Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 358 for cookie1 (0.15 seconds)

  1. docs/en/docs/tutorial/request-forms.md

    The <dfn title="specification">spec</dfn> requires the fields to be exactly named `username` and `password`, and to be sent as form fields, not JSON.
    
    With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc.
    
    /// info
    
    `Form` is a class that inherits directly from `Body`.
    
    ///
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/dependencies/sub-dependencies.md

    來看它所宣告的參數:
    
    - 即使這個函式本身是個相依項("dependable"),它也宣告了另一個相依(它「相依於」其他東西)。
        - 它相依 `query_extractor`,並把其回傳值指定給參數 `q`。
    - 它還宣告了一個可選的 `last_query` cookie,型別為 `str`。
        - 如果使用者沒有提供查詢 `q`,我們就使用先前儲存在 cookie 中的最後一次查詢值。
    
    ## 使用相依項 { #use-the-dependency }
    
    然後我們可以這樣使用這個相依項:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[23] *}
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/schema-extra-example.md

    ## `examples` у Схемі JSON - OpenAPI { #examples-in-json-schema-openapi }
    
    При використанні будь-кого з наступного:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    ви також можете задати набір `examples` з додатковою інформацією, яка буде додана до їхніх **Схем JSON** у **OpenAPI**.
    
    ### `Body` з `examples` { #body-with-examples }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

          Headers
            .Builder()
            .add("content-length", "99")
            .add("authorization", "peanutbutter")
            .add("proxy-authorization", "chocolate")
            .add("cookie", "drink=coffee")
            .add("set-cookie", "accessory=sugar")
            .add("user-agent", "OkHttp")
            .build()
        val request =
          Request(
            "https://square.com".toHttpUrl(),
            headers,
          )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/testing.md

    * Si necesitas enviar *Form Data* en lugar de JSON, usa el parámetro `data` en su lugar.
    * Para pasar *headers*, usa un `dict` en el parámetro `headers`.
    * Para *cookies*, un `dict` en el parámetro `cookies`.
    
    Para más información sobre cómo pasar datos al backend (usando `httpx` o el `TestClient`) revisa la [documentación de HTTPX](https://www.python-httpx.org).
    
    /// info | Información
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/testing.md

    * Для передачи *HTTP-заголовков*, передайте объект `dict` через параметр `headers`.
    * Для передачи *cookies* также передайте `dict`, но через параметр `cookies`.
    
    Для получения дополнительной информации о передаче данных на бэкенд с помощью `httpx` или `TestClient` ознакомьтесь с [документацией HTTPX](https://www.python-httpx.org).
    
    /// info | Информация
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/request-forms.md

    Con `Form` puedes declarar las mismas configuraciones que con `Body` (y `Query`, `Path`, `Cookie`), incluyendo validación, ejemplos, un alias (por ejemplo, `user-name` en lugar de `username`), etc.
    
    /// info | Información
    
    `Form` es una clase que hereda directamente de `Body`.
    
    ///
    
    /// tip | Consejo
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/testing.md

    * *パス* または *クエリ* パラメータを渡すには、それをURL自体に追加します。
    * JSONボディを渡すには、Pythonオブジェクト (例: `dict`) を `json` パラメータに渡します。
    * JSONの代わりに *フォームデータ* を送信する必要がある場合は、代わりに `data` パラメータを使用してください。
    * *ヘッダー* を渡すには、`headers` パラメータに `dict` を渡します。
    * *cookies* の場合、 `cookies` パラメータに `dict` です。
    
    (`httpx` または `TestClient` を使用して) バックエンドにデータを渡す方法の詳細は、[HTTPXのドキュメント](https://www.python-httpx.org)を確認してください。
    
    /// info
    
    `TestClient` は、Pydanticモデルではなく、JSONに変換できるデータを受け取ることに注意してください。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    internal fun isSensitiveHeader(name: String): Boolean =
      name.equals("Authorization", ignoreCase = true) ||
        name.equals("Cookie", ignoreCase = true) ||
        name.equals("Proxy-Authorization", ignoreCase = true) ||
        name.equals("Set-Cookie", ignoreCase = true)
    
    internal fun Char.parseHexDigit(): Int =
      when (this) {
        in '0'..'9' -> this - '0'
        in 'a'..'f' -> this - 'a' + 10
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  10. fastapi/security/open_id_connect_url.py

                    It is also useful when you want to have authentication that can be
                    provided in one of multiple optional ways (for example, with OpenID
                    Connect or in a cookie).
                    """
                ),
            ] = True,
        ):
            self.model = OpenIdConnectModel(
                openIdConnectUrl=openIdConnectUrl, description=description
            )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 3.1K bytes
    - Click Count (0)
Back to Top