Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 297 for Cookie2 (0.04 seconds)

  1. fastapi/exceptions.py

        from typing import Annotated
    
        from fastapi import (
            Cookie,
            FastAPI,
            WebSocket,
            WebSocketException,
            status,
        )
    
        app = FastAPI()
    
        @app.websocket("/items/{item_id}/ws")
        async def websocket_endpoint(
            *,
            websocket: WebSocket,
            session: Annotated[str | None, Cookie()] = None,
            item_id: str,
        ):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. docs/ru/docs/index.md

    * <abbr title="также известное как: сериализация, парсинг, маршалинг">Преобразование</abbr> входных данных: из сети в данные и типы Python. Чтение из:
        * JSON.
        * Параметров пути.
        * Параметров запроса.
        * Cookies.
        * HTTP-заголовков.
        * Форм.
        * Файлов.
    * <abbr title="также известное как: сериализация, парсинг, маршалинг">Преобразование</abbr> выходных данных: из данных и типов Python в данные сети (например, JSON):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 32K bytes
    - Click Count (0)
  3. api/go1.23.txt

    pkg net, type ListenConfig struct, KeepAliveConfig KeepAliveConfig #62254
    pkg net/http, func ParseCookie(string) ([]*Cookie, error) #66008
    pkg net/http, func ParseSetCookie(string) (*Cookie, error) #66008
    pkg net/http, method (*Request) CookiesNamed(string) []*Cookie #61472
    pkg net/http, type Cookie struct, Partitioned bool #62490
    pkg net/http, type Cookie struct, Quoted bool #46443
    pkg net/http, type Request struct, Pattern string #66405
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jun 25 17:08:08 GMT 2024
    - 10.1K bytes
    - Click Count (0)
  4. docs/en/docs/reference/response.md

    # `Response` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies.
    
    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Response
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 397 bytes
    - Click Count (0)
  5. docs/en/docs/reference/websockets.md

        options:
            members:
                - scope
                - app
                - url
                - base_url
                - headers
                - query_params
                - path_params
                - cookies
                - client
                - state
                - url_for
                - client_state
                - application_state
                - receive
                - send
                - accept
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. docs/fr/docs/index.md

        * <abbr title="en anglais : path parameters">les paramètres du chemin</abbr>.
        * <abbr title="en anglais : query parameters">les paramètres de la requête</abbr>.
        * les cookies.
        * <abbr title="en anglais : headers">les en-têtes</abbr>.
        * <abbr title="en anglais : forms">les formulaires</abbr>.
        * <abbr title="en anglais : files">les fichiers</abbr>.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 22K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/index.md

        - 自動補全
        - 型別檢查
    - 資料驗證:
        - 驗證失敗時自動生成清楚的錯誤訊息
        - 可驗證多層巢狀的 JSON 物件
    - <abbr title="也被稱為: 序列化或解析">轉換</abbr>輸入的資料: 轉換來自網路請求到 Python 資料型別。包含以下數據:
        - JSON
        - 路徑參數
        - 查詢參數
        - Cookies
        - 請求標頭
        - 表單
        - 文件
    - <abbr title="也被稱為: 序列化或解析">轉換</abbr>輸出的資料: 轉換 Python 資料型別到網路傳輸的 JSON:
        - 轉換 Python 型別 (`str`、 `int`、 `float`、 `bool`、 `list` 等)
        - `datetime` 物件
        - `UUID` 物件
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

      /**
       * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running
       * a robolectric test.
       *
       * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but
       * may expand in the future.
       */
      fun initialize(applicationContext: Context) {
        if (PlatformRegistry.applicationContext == null) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/dependencies/sub-dependencies.md

        * Sie hängt von `query_extractor` ab und weist den von diesem zurückgegebenen Wert dem Parameter `q` zu.
    * Sie deklariert außerdem ein optionales `last_query`-Cookie, ein `str`.
        * Wenn der Benutzer keine Query `q` übermittelt hat, verwenden wir die zuletzt übermittelte Query, die wir zuvor in einem Cookie gespeichert haben.
    
    ## Die Abhängigkeit verwenden { #use-the-dependency }
    
    Diese Abhängigkeit verwenden wir nun wie folgt:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top