Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for heder (0.13 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    ```Python
    from .dependencies import get_token_header
    ```
    
    would mean:
    
    * Starting in the same package that this module (the file `app/routers/items.py`) lives in (the directory `app/routers/`)...
    * find the module `dependencies` (an imaginary file at `app/routers/dependencies.py`)...
    * and from it, import the function `get_token_header`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/bigger-applications.md

    ```Python
    from ..dependencies import get_token_header
    ```
    
    表示:
    
    * 从该模块(`app/routers/items.py` 文件)所在的同一个包(`app/routers/` 目录)开始...
    * 跳转到其父包(`app/` 目录)...
    * 在该父包中,找到 `dependencies` 模块(位于 `app/dependencies.py` 的文件)...
    * 然后从中导入函数 `get_token_header`。
    
    正常工作了!🎉
    
    ---
    
    同样,如果我们使用了三个点 `...`,例如:
    
    ```Python
    from ...dependencies import get_token_header
    ```
    
    那将意味着:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/schema-extra-example.md

    ## Использование `example` и `examples` в OpenAPI
    
    При использовании любой из этих функций:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    вы также можете добавить аргумент, содержащий `example` или группу `examples` с дополнительной информацией, которая будет добавлена в **OpenAPI**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/de/docs/features.md

    * HTTP Basic Authentifizierung.
    * **OAuth2** (auch mit **JWT Tokens**). Siehe dazu das Tutorial zu [OAuth2 mit JWT](tutorial/security/oauth2-jwt.md){.internal-link target=_blank}.
    * API Schlüssel in:
        * Header-Feldern.
        * Anfrageparametern.
        * Cookies, usw.
    
    Zusätzlich alle Sicherheitsfunktionen von Starlette (inklusive **Session Cookies**).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. docs/hu/docs/index.md

        * JSON.
        * Cím paraméterek.
        * Query paraméterek.
        * Cookie-k.
        * Header-ök.
        * Formok.
        * Fájlok.
    * Kimeneti adatok <abbr title=" más néven: serialization, parsing, marshalling">átváltása</abbr>: Python adatok is típusokról hálózati adatokká:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/behind-a-proxy.md

    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    Diesmal jedoch unter der URL mit dem vom Proxy bereitgestellten Präfixpfad: `/api/v1`.
    
    Die Idee hier ist natürlich, dass jeder über den Proxy auf die Anwendung zugreifen soll, daher ist die Version mit dem Pfadpräfix `/api/v1` die „korrekte“.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:30:07 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    !!! note
        Notice the header `Authorization`, with a value that starts with `Bearer `.
    
    ## Advanced usage with `scopes`
    
    OAuth2 has the notion of "scopes".
    
    You can use them to add a specific set of permissions to a JWT token.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/response-model.md

    In solchen Fällen können Sie statt des Rückgabetyps den **Pfadoperation-Dekorator**-Parameter `response_model` verwenden.
    
    Sie können `response_model` in jeder möglichen *Pfadoperation* verwenden:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * usw.
    
    === "Python 3.10+"
    
        ```Python hl_lines="17  22  24-27"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/bigger-applications.md

    * `dependencies`: Sie alle benötigen die von uns erstellte `X-Token`-Abhängigkeit.
    
    Anstatt also alles zu jeder *Pfadoperation* hinzuzufügen, können wir es dem `APIRouter` hinzufügen.
    
    ```Python hl_lines="5-10  16  21" title="app/routers/items.py"
    {!../../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    Da der Pfad jeder *Pfadoperation* mit `/` beginnen muss, wie in:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/security/oauth2-scopes.md

        Alles hängt von den „Scopes“ ab, die in jeder *Pfadoperation* und jeder Abhängigkeit im Abhängigkeitsbaum für diese bestimmte *Pfadoperation* deklariert wurden.
    
    ## Weitere Details zu `SecurityScopes`.
    
    Sie können `SecurityScopes` an jeder Stelle und an mehreren Stellen verwenden, es muss sich nicht in der „Wurzel“-Abhängigkeit befinden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top