- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 306 for hcustom1 (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/js/custom.js
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 17:59:48 GMT 2026 - 7.7K bytes - Click Count (2) -
docs/en/docs/advanced/custom-response.md
{* ../../docs_src/custom_response/tutorial009b_py310.py hl[2,8,10] *} In this case, you can return the file path directly from your *path operation* function. ## 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 [`orjson`](https://github.com/ijl/orjson) with some settings.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/fr/docs/advanced/custom-response.md
# Réponse personnalisée - HTML, flux, fichier, autres { #custom-response-html-stream-file-others } Par défaut, **FastAPI** renvoie des réponses JSON. Vous pouvez le remplacer en renvoyant une `Response` directement comme vu dans [Renvoyer une Response directement](response-directly.md).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 12.3K bytes - Click Count (0) -
docs/tr/docs/advanced/custom-response.md
# Özel Response - HTML, Stream, File ve Diğerleri { #custom-response-html-stream-file-others } Varsayılan olarak **FastAPI**, JSON response'lar döndürür. Bunu, [Doğrudan bir Response döndür](response-directly.md) bölümünde gördüğünüz gibi doğrudan bir `Response` döndürerek geçersiz kılabilirsiniz.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 11.9K 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** JSON-Responses zurück. Sie können dies überschreiben, indem Sie direkt eine `Response` zurückgeben, wie in [Eine Response direkt zurückgeben](response-directly.md) gezeigt.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.5K 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á responses JSON. Puedes sobrescribirlo devolviendo un `Response` directamente como se ve en [Devolver una Response directamente](response-directly.md).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 11.6K 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 Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.4K bytes - Click Count (0) -
docs/zh/docs/advanced/custom-response.md
# 自定义响应 - HTML、流、文件等 { #custom-response-html-stream-file-others } 默认情况下,**FastAPI** 会返回 JSON 响应。 你可以像在 [直接返回响应](response-directly.md) 中那样,直接返回 `Response` 来重载它。 但如果你直接返回一个 `Response`(或其任意子类,比如 `JSONResponse`),返回的数据不会自动转换(即使你声明了 `response_model`),也不会自动生成文档(例如,在生成的 OpenAPI 中,HTTP 头 `Content-Type` 里的特定「媒体类型」不会被包含)。 你还可以在 *路径操作装饰器* 中通过 `response_class` 参数声明要使用的 `Response`(例如任意 `Response` 子类)。 你从 *路径操作函数* 中返回的内容将被放在该 `Response` 中。 /// note | 注意Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.4K bytes - Click Count (0) -
docs/ru/docs/advanced/custom-response.md
# Кастомные ответы — HTML, поток, файл и другие { #custom-response-html-stream-file-others } По умолчанию **FastAPI** возвращает ответы в формате JSON. Вы можете переопределить это, вернув `Response` напрямую, как показано в разделе [Вернуть Response напрямую](response-directly.md).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 17.6K bytes - Click Count (0) -
docs/uk/docs/advanced/custom-response.md
# Користувацька відповідь - HTML, стрім, файл, інше { #custom-response-html-stream-file-others } Типово **FastAPI** повертатиме JSON-відповіді. Ви можете переписати це, повернувши `Response` безпосередньо, як показано в [Повернути відповідь безпосередньо](response-directly.md).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 17K bytes - Click Count (0)