- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 125 for a2wsgi (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/es/docs/advanced/behind-a-proxy.md
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 } 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).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 16.5K bytes - Click Count (0) -
docs/uk/docs/how-to/custom-request-and-route.md
Також `Request` має `request.receive` - це функція для «отримання» тіла запиту. `scope` `dict` і функція `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 18:27:41 GMT 2026 - 6.8K bytes - Click Count (0) -
docs/tr/docs/how-to/custom-request-and-route.md
Bir `Request` ayrıca `request.receive` içerir; bu, request'in body'sini "almak" (receive etmek) için kullanılan bir fonksiyondur. `scope` `dict`'i ve `receive` fonksiyonu, ASGI spesifikasyonunun parçalarıdır. Ve bu iki şey, `scope` ve `receive`, yeni bir `Request` instance'ı oluşturmak için gerekenlerdir.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/fr/docs/advanced/behind-a-proxy.md
Vous pouvez avoir un proxy qui ajoute un préfixe de chemin à votre application. Dans ces cas, vous pouvez utiliser `root_path` pour configurer votre application. Le `root_path` est un mécanisme fourni par la spécification ASGI (sur laquelle FastAPI est construit, via Starlette). Le `root_path` est utilisé pour gérer ces cas spécifiques. Et il est également utilisé en interne lors du montage de sous‑applications.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 17.4K bytes - Click Count (0) -
docs/pt/docs/advanced/behind-a-proxy.md
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 } 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).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 16.6K bytes - Click Count (0) -
docs/zh/docs/advanced/sub-applications.md
<img src="/img/tutorial/sub-applications/image02.png"> 两个用户界面都可以正常运行,因为浏览器能够与每个指定的应用或子应用会话。 ### 技术细节:`root_path` { #technical-details-root-path } 以上述方式挂载子应用时,FastAPI 使用 ASGI 规范中的 `root_path` 机制处理挂载子应用路径之间的通信。 这样,子应用就可以为自动文档使用路径前缀。 并且子应用还可以再挂载子应用,一切都会正常运行,FastAPI 可以自动处理所有 `root_path`。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.5K bytes - Click Count (0) -
docs/zh/docs/advanced/events.md
启动和关闭的逻辑很可能是连接在一起的,你可能希望启动某个东西然后结束它,获取一个资源然后释放它等等。 在不共享逻辑或变量的不同函数中处理这些逻辑比较困难,因为你需要在全局变量中存储值或使用类似的方式。 因此,推荐使用上面所述的 `lifespan`。 ## 技术细节 { #technical-details } 只是为好奇者提供的技术细节。🤓 在底层,这部分是 ASGI 技术规范中的 [Lifespan 协议](https://asgi.readthedocs.io/en/latest/specs/lifespan.html)的一部分,定义了称为 `startup` 和 `shutdown` 的事件。 /// info | 信息 你可以在 [Starlette 的 Lifespan 文档](https://www.starlette.dev/lifespan/) 中阅读更多关于 `lifespan` 处理器的内容。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.2K bytes - Click Count (0) -
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) -
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) -
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)