- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 428 for CUSTOM (0.13 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/js/custom.js
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 22 15:11:52 GMT 2025 - 6.3K bytes - Click Count (2) -
docs/en/docs/css/custom.css
Sebastián Ramírez <******@****.***> 1764345315 -0800
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Nov 28 15:55:15 GMT 2025 - 3.7K bytes - Click Count (0) -
docs/es/docs/advanced/custom-response.md
# Response Personalizado - HTML, Stream, Archivo, otros { #custom-response-html-stream-file-others } Por defecto, **FastAPI** devolverá los responses usando `JSONResponse`. Puedes sobrescribirlo devolviendo un `Response` directamente como se ve en [Devolver una Response directamente](response-directly.md){.internal-link target=_blank}.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.2K bytes - Click Count (0) -
docs/ja/docs/advanced/custom-response.md
`generate_html_response()` を呼び出した結果を返すことにより、**FastAPI** の振る舞いを上書きする `Response` が既に返されています。 しかし、一方では `response_class` に `HTMLResponse` を渡しているため、 **FastAPI** はOpenAPIや対話的ドキュメントでHTMLとして `text/html` でドキュメント化する方法を知っています。 <img src="/img/tutorial/custom-response/image01.png"> ## 利用可能なレスポンス 以下が利用可能なレスポンスの一部です。 `Response` を使って他の何かを返せますし、カスタムのサブクラスも作れることを覚えておいてください。 /// note | 技術詳細 `from starlette.responses import HTMLResponse` も利用できます。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 10.4K bytes - Click Count (0) -
docs/ko/docs/advanced/custom-response.md
하지만 `response_class`에 `HTMLResponse`를 함께 전달했기 때문에, FastAPI는 이를 OpenAPI 및 대화형 문서에서 `text/html`로 HTML을 문서화 하는 방법을 알 수 있습니다. <img src="/img/tutorial/custom-response/image01.png"> ## 사용 가능한 응답들 다음은 사용할 수 있는 몇가지 응답들 입니다. `Response`를 사용하여 다른 어떤 것도 반환 할수 있으며, 직접 하위 클래스를 만들 수도 있습니다. /// note | 기술 세부사항
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 15 11:21:20 GMT 2025 - 13.4K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
## Custom response class { #custom-response-class } You can create your own custom response class, inheriting from `Response` and using it. For example, let's say that you want to use <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, but with some custom settings not used in the included `ORJSONResponse` class.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.4K bytes - Click Count (0) -
docs/de/docs/advanced/custom-response.md
# Benutzerdefinierte Response – HTML, Stream, Datei, andere { #custom-response-html-stream-file-others } Standardmäßig gibt **FastAPI** die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Responses</abbr> mittels `JSONResponse` zurück. Sie können dies überschreiben, indem Sie direkt eine `Response` zurückgeben, wie in [Eine Response direkt zurückgeben](response-directly.md){.internal-link target=_blank} gezeigt.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.4K bytes - Click Count (0) -
docs/zh/docs/advanced/custom-response.md
通过返回函数 `generate_html_response()` 的调用结果,你已经返回一个重载 **FastAPI** 默认行为的 `Response` 对象, 但如果你在 `response_class` 中也传入了 `HTMLResponse`,**FastAPI** 会知道如何在 OpenAPI 和交互式文档中使用 `text/html` 将其文档化为 HTML。 <img src="/img/tutorial/custom-response/image01.png"> ## 可用响应 这里有一些可用的响应。 要记得你可以使用 `Response` 来返回任何其他东西,甚至创建一个自定义的子类。 /// note | 技术细节 你也可以使用 `from starlette.responses import HTMLResponse`。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 7.5K bytes - Click Count (0) -
docs/ru/docs/how-to/custom-request-and-route.md
## Обработка пользовательского кодирования тела запроса { #handling-custom-request-body-encodings } Посмотрим как использовать пользовательский подкласс `Request` для распаковки gzip-запросов. И подкласс `APIRoute`, чтобы использовать этот пользовательский класс запроса. ### Создать пользовательский класс `GzipRequest` { #create-a-custom-gziprequest-class } /// tip | СоветCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 21:25:03 GMT 2025 - 7.2K bytes - Click Count (0) -
docs/en/docs/how-to/custom-request-and-route.md
* Automatically logging all request bodies. ## Handling custom request body encodings { #handling-custom-request-body-encodings } Let's see how to make use of a custom `Request` subclass to decompress gzip requests. And an `APIRoute` subclass to use that custom request class. ### Create a custom `GzipRequest` class { #create-a-custom-gziprequest-class } /// tipCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 4.6K bytes - Click Count (0)