- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for WSGI (0.03 sec)
-
docs/ko/docs/advanced/wsgi.md
# WSGI 포함하기 - Flask, Django 그 외 [서브 응용 프로그램 - 마운트](sub-applications.md){.internal-link target=_blank}, [프록시 뒤편에서](behind-a-proxy.md){.internal-link target=_blank}에서 보았듯이 WSGI 응용 프로그램들을 다음과 같이 마운트 할 수 있습니다. `WSGIMiddleware`를 사용하여 WSGI 응용 프로그램(예: Flask, Django 등)을 감쌀 수 있습니다. ## `WSGIMiddleware` 사용하기 `WSGIMiddleware`를 불러와야 합니다. 그런 다음, WSGI(예: Flask) 응용 프로그램을 미들웨어로 포장합니다. 그 후, 해당 경로에 마운트합니다. ```Python hl_lines="2-3 23"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 18:56:37 UTC 2024 - 1.3K bytes - Viewed (0) -
docs/em/docs/advanced/wsgi.md
## ⚙️ `WSGIMiddleware` 👆 💪 🗄 `WSGIMiddleware`. ⤴️ 🎁 🇨🇻 (✅ 🏺) 📱 ⏮️ 🛠️. & ⤴️ 🗻 👈 🔽 ➡. ```Python hl_lines="2-3 22" {!../../docs_src/wsgi/tutorial001.py!} ``` ## ✅ ⚫️ 🔜, 🔠 📨 🔽 ➡ `/v1/` 🔜 🍵 🏺 🈸. & 🎂 🔜 🍵 **FastAPI**.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.1K bytes - Viewed (0) -
docs/tr/docs/advanced/wsgi.md
# WSGI - Flask, Django ve Daha Fazlasını FastAPI ile Kullanma WSGI uygulamalarını [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} bölümlerinde gördüğünüz gibi bağlayabilirsiniz. Bunun için `WSGIMiddleware` ile Flask, Django vb. WSGI uygulamanızı sarmalayabilir ve FastAPI'ya bağlayabilirsiniz. ## `WSGIMiddleware` Kullanımı `WSGIMiddleware`'ı projenize dahil edin.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.3K bytes - Viewed (0) -
docs/en/docs/advanced/wsgi.md
# Including WSGI - Flask, Django, others You can mount WSGI applications as you saw with [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank}. For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc. ## Using `WSGIMiddleware` You need to import `WSGIMiddleware`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.1K bytes - Viewed (0) -
docs/zh/docs/advanced/wsgi.md
# 包含 WSGI - Flask,Django,其它 您可以挂载多个 WSGI 应用,正如您在 [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} 中所看到的那样。 为此, 您可以使用 `WSGIMiddleware` 来包装你的 WSGI 应用,如:Flask,Django,等等。 ## 使用 `WSGIMiddleware` 您需要导入 `WSGIMiddleware`。 然后使用该中间件包装 WSGI 应用(例如 Flask)。 之后将其挂载到某一个路径下。 ```Python hl_lines="2-3 22" {!../../docs_src/wsgi/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/de/docs/advanced/wsgi.md
# WSGI inkludieren – Flask, Django und andere Sie können WSGI-Anwendungen mounten, wie Sie es in [Unteranwendungen – Mounts](sub-applications.md){.internal-link target=_blank}, [Hinter einem Proxy](behind-a-proxy.md){.internal-link target=_blank} gesehen haben. Dazu können Sie die `WSGIMiddleware` verwenden und damit Ihre WSGI-Anwendung wrappen, zum Beispiel Flask, Django usw. ## `WSGIMiddleware` verwenden Sie müssen `WSGIMiddleware` importieren.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/pt/docs/advanced/wsgi.md
# Adicionando WSGI - Flask, Django, entre outros Como você viu em [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank} e [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank}, você pode **"montar"** aplicações WSGI. Para isso, você pode utilizar o `WSGIMiddleware` para encapsular a sua aplicação WSGI, como por exemplo Flask, Django, etc. ## Usando o `WSGIMiddleware` Você precisa importar o `WSGIMiddleware`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.2K bytes - Viewed (0) -
fastapi/middleware/wsgi.py
from starlette.middleware.wsgi import WSGIMiddleware as WSGIMiddleware # noqa...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Dec 20 18:50:00 UTC 2020 - 79 bytes - Viewed (0) -
docs/en/docs/reference/middleware.md
It can be imported from `fastapi`: ```python from fastapi.middleware.trustedhost import TrustedHostMiddleware ``` ::: fastapi.middleware.wsgi.WSGIMiddleware It can be imported from `fastapi`: ```python from fastapi.middleware.wsgi import WSGIMiddleware
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 991 bytes - Viewed (0) -
docs_src/wsgi/tutorial001.py
from fastapi import FastAPI from fastapi.middleware.wsgi import WSGIMiddleware from flask import Flask, request from markupsafe import escape flask_app = Flask(__name__) @flask_app.route("/") def flask_main(): name = request.args.get("name", "World") return f"Hello, {escape(name)} from Flask!" app = FastAPI() @app.get("/v2") def read_main(): return {"message": "Hello World"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue May 09 14:32:00 UTC 2023 - 443 bytes - Viewed (0)