- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for xml$ (0.84 sec)
-
docs/es/docs/advanced/response-directly.md
Ahora, veamos cómo puedes usarlo para devolver una respuesta personalizada. Digamos que quieres devolver una respuesta <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a>. Podrías poner tu contenido XML en un string, ponerlo en una `Response` y devolverlo: ```Python hl_lines="1 18" {!../../../docs_src/response_directly/tutorial002.py!} ``` ## Notas
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 11:57:27 GMT 2024 - 3.2K bytes - Viewed (0) -
docs/zh/docs/advanced/response-directly.md
上面的例子展示了需要的所有部分,但还不够实用,因为你本可以只是直接返回 `item`,而**FastAPI** 默认帮你把这个 `item` 放到 `JSONResponse` 中,又默认将其转换成了 `dict`等等。 现在,让我们看看你如何才能返回一个自定义的响应。 假设你想要返回一个 <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a> 响应。 你可以把你的 XML 内容放到一个字符串中,放到一个 `Response` 中,然后返回。 ```Python hl_lines="1 18" {!../../../docs_src/response_directly/tutorial002.py!} ``` ## 说明
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 3.1K bytes - Viewed (0) -
.gitignore
.idea .ipynb_checkpoints .mypy_cache .vscode __pycache__ .pytest_cache htmlcov dist site .coverage coverage.xml .netlify test.db log.txt Pipfile.lock env3.* env docs_build site_build venv docs.zip archive.zip # vim temporary files *~ .*.sw? .cache # macOS
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 13:11:35 GMT 2023 - 268 bytes - Viewed (0) -
docs/en/docs/release-notes.md
* Add custom GitHub Action to get artifact with docs preview. PR [#1739](https://github.com/tiangolo/fastapi/pull/1739). * Add new GitHub Actions to preview docs from PRs. PR [#1738](https://github.com/tiangolo/fastapi/pull/1738). * Add XML test coverage to support GitHub Actions. PR [#1737](https://github.com/tiangolo/fastapi/pull/1737). * Update badges and remove Travis now that GitHub Actions is the main CI. PR [#1736](https://github.com/tiangolo/fastapi/pull/1736).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
fastapi/openapi/models.py
# Ref: OpenAPI 3.1.0: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object # Schema Object discriminator: Optional[Discriminator] = None xml: Optional[XML] = None externalDocs: Optional[ExternalDocumentation] = None example: Annotated[ Optional[Any], typing_deprecated(
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 22:49:33 GMT 2024 - 15K bytes - Viewed (1) -
docs/em/docs/advanced/response-directly.md
🖼 🔛 🎦 🌐 🍕 👆 💪, ✋️ ⚫️ 🚫 📶 ⚠, 👆 💪 ✔️ 📨 `item` 🔗, & **FastAPI** 🔜 🚮 ⚫️ `JSONResponse` 👆, 🏭 ⚫️ `dict`, ♒️. 🌐 👈 🔢. 🔜, ➡️ 👀 ❔ 👆 💪 ⚙️ 👈 📨 🛃 📨. ➡️ 💬 👈 👆 💚 📨 <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">📂</a> 📨. 👆 💪 🚮 👆 📂 🎚 🎻, 🚮 ⚫️ `Response`, & 📨 ⚫️: ```Python hl_lines="1 18" {!../../../docs_src/response_directly/tutorial002.py!} ``` ## 🗒
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 2.6K bytes - Viewed (0) -
docs/de/docs/advanced/response-directly.md
Sehen wir uns nun an, wie Sie damit eine benutzerdefinierte Response zurückgeben können. Nehmen wir an, Sie möchten eine <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a>-Response zurückgeben. Sie könnten Ihren XML-Inhalt als String in eine `Response` einfügen und sie zurückgeben: ```Python hl_lines="1 18" {!../../../docs_src/response_directly/tutorial002.py!} ``` ## Anmerkungen
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:19:36 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/fr/docs/advanced/response-directly.md
Maintenant, voyons comment vous pourriez utiliser cela pour retourner une réponse personnalisée. Disons que vous voulez retourner une réponse <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a>. Vous pouvez mettre votre contenu XML dans une chaîne de caractères, la placer dans une `Response`, et la retourner : ```Python hl_lines="1 18" {!../../../docs_src/response_directly/tutorial002.py!} ``` ## Notes
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.6K bytes - Viewed (0)