Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for root_path (0.05 sec)

  1. docs/es/docs/advanced/behind-a-proxy.md

    Si usas Hypercorn, también tiene la opción `--root-path`.
    
    /// note | Detalles Técnicos
    
    La especificación ASGI define un `root_path` para este caso de uso.
    
    Y la opción de línea de comandos `--root-path` proporciona ese `root_path`.
    
    ///
    
    ### Revisar el `root_path` actual
    
    Puedes obtener el `root_path` actual utilizado por tu aplicación para cada request, es parte del diccionario `scope` (que es parte de la especificación ASGI).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/behind-a-proxy.md

    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    ### ⚒ `root_path` FastAPI 📱
    
    👐, 🚥 👆 🚫 ✔️ 🌌 🚚 📋 ⏸ 🎛 💖 `--root-path` ⚖️ 🌓, 👆 💪 ⚒ `root_path` 🔢 🕐❔ 🏗 👆 FastAPI 📱:
    
    {* ../../docs_src/behind_a_proxy/tutorial002.py hl[3] *}
    
    🚶‍♀️ `root_path` `FastAPI` 🔜 🌓 🚶‍♀️ `--root-path` 📋 ⏸ 🎛 Uvicorn ⚖️ Hypercorn.
    
    ### 🔃 `root_path`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/behind-a-proxy.md

    Se você usar Hypercorn, ele também tem a opção `--root-path`.
    
    /// note | Detalhes Técnicos
    
    A especificação ASGI define um `root_path` para esse caso de uso.
    
    E a opção de linha de comando `--root-path` fornece esse `root_path`.
    
    ///
    
    ### Verificando o `root_path` atual
    
    Você pode obter o `root_path` atual usado pela sua aplicação para cada solicitação, ele faz parte do dicionário `scope` (que faz parte da especificação ASGI).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/behind-a-proxy.md

    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    ### 在 FastAPI 应用里设置 `root_path`
    
    还有一种方案,如果不能提供 `--root-path` 或等效的命令行选项,则在创建 FastAPI 应用时要设置 `root_path` 参数。
    
    {* ../../docs_src/behind_a_proxy/tutorial002.py hl[3] *}
    
    传递 `root_path` 给 `FastAPI` 与传递 `--root-path` 命令行选项给 Uvicorn 或 Hypercorn 一样。
    
    ### 关于 `root_path`
    
    注意,服务器(Uvicorn)只是把 `root_path` 传递给应用。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/behind-a-proxy.md

    /// note | Technical Details
    
    The ASGI specification defines a `root_path` for this use case.
    
    And the `--root-path` command line option provides that `root_path`.
    
    ///
    
    ### Checking the current `root_path` { #checking-the-current-root-path }
    
    You can get the current `root_path` used by your application for each request, it is part of the `scope` dictionary (that's part of the ASGI spec).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/sub-applications.md

    ### Technische Details: `root_path`
    
    Wenn Sie eine Unteranwendung wie oben beschrieben mounten, kümmert sich FastAPI darum, den Mount-Pfad für die Unteranwendung zu kommunizieren, mithilfe eines Mechanismus aus der ASGI-Spezifikation namens `root_path`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/behind-a-proxy.md

    /// note | Technische Details
    
    Die ASGI-Spezifikation definiert einen `root_path` für diesen Anwendungsfall.
    
    Und die Kommandozeilenoption `--root-path` stellt diesen `root_path` bereit.
    
    ///
    
    ### Überprüfen des aktuellen `root_path`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/sub-applications.md

    🚥 👆 🔄 🔗 ⏮️ 🙆 2️⃣ 👩‍💻 🔢, 👫 🔜 👷 ☑, ↩️ 🖥 🔜 💪 💬 🔠 🎯 📱 ⚖️ 🎧-📱.
    
    ### 📡 ℹ: `root_path`
    
    🕐❔ 👆 🗻 🎧-🈸 🔬 🔛, FastAPI 🔜 ✊ 💅 🔗 🗻 ➡ 🎧-🈸 ⚙️ 🛠️ ⚪️➡️ 🔫 🔧 🤙 `root_path`.
    
    👈 🌌, 🎧-🈸 🔜 💭 ⚙️ 👈 ➡ 🔡 🩺 🎚.
    
    & 🎧-🈸 💪 ✔️ 🚮 👍 📌 🎧-🈸 & 🌐 🔜 👷 ☑, ↩️ FastAPI 🍵 🌐 👉 `root_path`Ⓜ 🔁.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/sub-applications.md

    ### Detalles Técnicos: `root_path`
    
    Cuando montas una sub-aplicación como se describe arriba, FastAPI se encargará de comunicar el path de montaje para la sub-aplicación usando un mecanismo de la especificación ASGI llamado `root_path`.
    
    De esa manera, la sub-aplicación sabrá usar ese prefijo de path para la interfaz de documentación.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/sub-applications.md

    ### Detalhes Técnicos: `root_path`
    
    Quando você monta uma sub-aplicação como descrito acima, o FastAPI se encarrega de comunicar o caminho de montagem para a sub-aplicação usando um mecanismo da especificação ASGI chamado `root_path`.
    
    Dessa forma, a sub-aplicação saberá usar esse prefixo de caminho para a interface de documentação.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top