Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 516 for cookies (0.06 seconds)

  1. docs/ru/docs/tutorial/header-params.md

    ## Импорт `Header` { #import-header }
    
    Сперва импортируйте `Header`:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## Объявление параметров `Header` { #declare-header-parameters }
    
    Затем объявите параметры заголовка, используя ту же структуру, что и с `Path`, `Query` и `Cookie`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. docs_src/websockets_/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import (
        Cookie,
        Depends,
        FastAPI,
        Query,
        WebSocket,
        WebSocketException,
        status,
    )
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 12:34:37 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. docs_src/websockets_/tutorial002_py310.py

    from fastapi import (
        Cookie,
        Depends,
        FastAPI,
        Query,
        WebSocket,
        WebSocketException,
        status,
    )
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 12:34:37 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/header-params.md

    ## `Header` importieren { #import-header }
    
    Importieren Sie zuerst `Header`:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## `Header`-Parameter deklarieren { #declare-header-parameters }
    
    Deklarieren Sie dann die Header-Parameter mit derselben Struktur wie bei `Path`, `Query` und `Cookie`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/header-params.md

    # Header 参数 { #header-parameters }
    
    定义 `Header` 参数的方式与定义 `Query`、`Path`、`Cookie` 参数相同。
    
    ## 导入 `Header` { #import-header }
    
    首先,导入 `Header`:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## 声明 `Header` 参数 { #declare-header-parameters }
    
    然后,使用和 `Path`、`Query`、`Cookie` 一样的结构定义 header 参数。
    
    第一个值是默认值,还可以传递所有验证参数或注释参数:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | 技术细节
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:39:41 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  6. fastapi/__init__.py

    from .exceptions import HTTPException as HTTPException
    from .exceptions import WebSocketException as WebSocketException
    from .param_functions import Body as Body
    from .param_functions import Cookie as Cookie
    from .param_functions import Depends as Depends
    from .param_functions import File as File
    from .param_functions import Form as Form
    from .param_functions import Header as Header
    from .param_functions import Path as Path
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:21:01 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/header-params.md

    ## Importer `Header` { #import-header }
    
    Commencez par importer `Header` :
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## Déclarer des paramètres `Header` { #declare-header-parameters }
    
    Déclarez ensuite les paramètres d'en-tête en utilisant la même structure qu'avec `Path`, `Query` et `Cookie`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  8. docs/en/docs/reference/parameters.md

    It includes:
    
    * `Query()`
    * `Path()`
    * `Body()`
    * `Cookie()`
    * `Header()`
    * `Form()`
    * `File()`
    
    You can import them all directly from `fastapi`:
    
    ```python
    from fastapi import Body, Cookie, File, Form, Header, Path, Query
    ```
    
    ::: fastapi.Query
    
    ::: fastapi.Path
    
    ::: fastapi.Body
    
    ::: fastapi.Cookie
    
    ::: fastapi.Header
    
    ::: fastapi.Form
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 603 bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/header-params.md

    ## Імпорт `Header` { #import-header }
    
    Спочатку імпортуйте `Header`:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## Оголошення параметрів `Header` { #declare-header-parameters }
    
    Потім оголосіть параметри заголовків, використовуючи ту ж структуру, що й для `Path`, `Query` та `Cookie`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:42:01 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  10. docs/tr/docs/advanced/response-change-status-code.md

    Bu tür durumlarda bir `Response` parametresi kullanabilirsiniz.
    
    ## Bir `Response` parametresi kullanın { #use-a-response-parameter }
    
    *Path operation function* içinde `Response` tipinde bir parametre tanımlayabilirsiniz (cookie ve header'lar için yapabildiğiniz gibi).
    
    Ardından bu *geçici (temporal)* `Response` nesnesi üzerinde `status_code` değerini ayarlayabilirsiniz.
    
    {* ../../docs_src/response_change_status_code/tutorial001_py310.py hl[1,9,12] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 1.8K bytes
    - Click Count (0)
Back to Top