Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 156 for a2wsgi (0.07 seconds)

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

    In diesen Fällen können Sie <abbr title="Wurzelpfad">`root_path`</abbr> verwenden, um Ihre Anwendung zu konfigurieren.
    
    Der `root_path` ist ein Mechanismus, der von der ASGI-Spezifikation bereitgestellt wird (auf der FastAPI via Starlette aufbaut).
    
    Der `root_path` wird verwendet, um diese speziellen Fälle zu handhaben.
    
    Und er wird auch intern beim Mounten von Unteranwendungen verwendet.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 18K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/behind-a-proxy.md

    </div>
    
    Hypercorn을 사용한다면, Hypercorn에도 `--root-path` 옵션이 있습니다.
    
    /// note | 기술 세부사항
    
    ASGI 사양은 이 사용 사례를 위해 `root_path`를 정의합니다.
    
    그리고 커맨드 라인 옵션 `--root-path`가 그 `root_path`를 제공합니다.
    
    ///
    
    ### 현재 `root_path` 확인하기 { #checking-the-current-root-path }
    
    요청마다 애플리케이션에서 사용 중인 현재 `root_path`를 얻을 수 있는데, 이는 `scope` 딕셔너리(ASGI 사양의 일부)에 포함되어 있습니다.
    
    여기서는 데모 목적을 위해 메시지에 포함하고 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  3. docs/ko/docs/advanced/events.md

    그 때문에, 이제는 위에서 설명한 대로 `lifespan`을 사용하는 것이 권장됩니다.
    
    ## 기술적 세부사항 { #technical-details }
    
    호기심 많은 분들을 위한 기술적인 세부사항입니다. 🤓
    
    내부적으로 ASGI 기술 사양에서는 이것이 [Lifespan Protocol](https://asgi.readthedocs.io/en/latest/specs/lifespan.html)의 일부이며, `startup`과 `shutdown`이라는 이벤트를 정의합니다.
    
    /// info | 정보
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    如果你使用 Hypercorn,它也有 `--root-path` 這個選項。
    
    /// note | 技術細節
    
    ASGI 規格針對這種用例定義了 `root_path`。
    
    而命令列選項 `--root-path` 就是提供該 `root_path`。
    
    ///
    
    ### 檢視目前的 `root_path` { #checking-the-current-root-path }
    
    你可以在每個請求中取得應用使用的 `root_path`,它是 `scope` 字典的一部分(ASGI 規格的一部分)。
    
    這裡我們把它放到回傳訊息中只是為了示範。
    
    {* ../../docs_src/behind_a_proxy/tutorial001_py310.py hl[8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  5. docs/pt/docs/how-to/custom-request-and-route.md

    Um `Request` também tem um `request.receive`, que é uma função para "receber" o corpo da requisição.
    
    O dicionário `scope` e a função `receive` são ambos parte da especificação ASGI.
    
    E essas duas coisas, `scope` e `receive`, são o que é necessário para criar uma nova instância de `Request`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    A `Request` also has a `request.receive`, that's a function to "receive" the body of the request.
    
    The `scope` `dict` and `receive` function are both part of the ASGI specification.
    
    And those two things, `scope` and `receive`, are what is needed to create a new `Request` instance.
    
    To learn more about the `Request` check [Starlette's docs about Requests](https://www.starlette.dev/requests/).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. docs/ru/docs/how-to/custom-request-and-route.md

    У `Request` также есть `request.receive` — функция для «получения» тела запроса.
    
    И `dict` `scope`, и функция `receive` являются частью спецификации ASGI.
    
    Именно этих двух компонентов — `scope` и `receive` — достаточно, чтобы создать новый экземпляр `Request`.
    
    Чтобы узнать больше о `Request`, см. [документацию Starlette о запросах](https://www.starlette.dev/requests/).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    如果你使用 Hypercorn,它也有 `--root-path` 选项。
    
    /// note | 技术细节
    
    ASGI 规范为这种用例定义了 `root_path`。
    
    命令行选项 `--root-path` 会提供该 `root_path`。
    
    ///
    
    ### 查看当前的 `root_path` { #checking-the-current-root-path }
    
    你可以获取应用在每个请求中使用的当前 `root_path`,它是 `scope` 字典的一部分(ASGI 规范的一部分)。
    
    这里我们把它包含在响应消息中仅用于演示。
    
    {* ../../docs_src/behind_a_proxy/tutorial001_py310.py hl[8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  9. docs/de/docs/how-to/custom-request-and-route.md

    Ein `Request` hat auch ein `request.receive`, welches eine Funktion ist, die den Body des Requests <abbr title="Englisch „receive“">empfängt</abbr>.
    
    Das `scope`-`dict` und die `receive`-Funktion sind beide Teil der ASGI-Spezifikation.
    
    Und diese beiden Dinge, `scope` und `receive`, werden benötigt, um eine neue `Request`-Instanz zu erstellen.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  10. docs/ko/docs/advanced/sub-applications.md

    두 사용자 인터페이스 중 어느 것과 상호작용을 시도하더라도 올바르게 동작할 것입니다. 브라우저가 각 특정 앱 또는 하위 앱과 통신할 수 있기 때문입니다.
    
    ### 기술적 세부사항: `root_path` { #technical-details-root-path }
    
    위에서 설명한 대로 하위 애플리케이션을 마운트하면, FastAPI는 ASGI 명세의 메커니즘인 `root_path`를 사용해 하위 애플리케이션에 대한 마운트 경로를 전달하는 작업을 처리합니다.
    
    이렇게 하면 하위 애플리케이션은 문서 UI를 위해 해당 경로 접두사를 사용해야 한다는 것을 알게 됩니다.
    
    또한 하위 애플리케이션도 자체적으로 하위 앱을 마운트할 수 있으며, FastAPI가 이 모든 `root_path`를 자동으로 처리하기 때문에 모든 것이 올바르게 동작합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
Back to Top