Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for root_path (0.04 sec)

  1. 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.
    
    ///
    
    ### Testen des aktuellen `root_path` { #checking-the-current-root-path }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/behind-a-proxy.md

    /// 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 { #checking-the-current-root-path }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. docs/ru/docs/advanced/behind-a-proxy.md

    /// note | Технические детали
    
    Спецификация ASGI определяет `root_path` для такого случая.
    
    А опция командной строки `--root-path` передаёт этот `root_path`.
    
    ///
    
    ### Проверка текущего `root_path` { #checking-the-current-root-path }
    
    Вы можете получить текущий `root_path`, используемый вашим приложением для каждого запроса, — он входит в словарь `scope` (часть спецификации ASGI).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. docs_src/behind_a_proxy/tutorial001_py39.py

    from fastapi import FastAPI, Request
    
    app = FastAPI()
    
    
    @app.get("/app")
    def read_main(request: Request):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 189 bytes
    - Viewed (0)
  5. docs/es/docs/advanced/behind-a-proxy.md

    /// 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 { #checking-the-current-root-path }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/sub-applications.md

    ### Detalles Técnicos: `root_path` { #technical-details-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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/sub-applications.md

    ### Detalhes Técnicos: `root_path` { #technical-details-root-path }
    
    Quando você monta uma sub-aplicação como descrito acima, o FastAPI se encarrega de comunicar o path 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 path para a interface de documentação.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. docs_src/behind_a_proxy/tutorial002_py39.py

    from fastapi import FastAPI, Request
    
    app = FastAPI(root_path="/api/v1")
    
    
    @app.get("/app")
    def read_main(request: Request):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 208 bytes
    - Viewed (0)
  10. docs_src/behind_a_proxy/tutorial003_py39.py

            {"url": "https://prod.example.com", "description": "Production environment"},
        ],
        root_path="/api/v1",
    )
    
    
    @app.get("/app")
    def read_main(request: Request):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 405 bytes
    - Viewed (0)
Back to top