Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 488 for CUSTOM (0.04 sec)

  1. docs/en/docs/js/custom.js

                            saveBuffer();
                            const promptStart = line.indexOf(promptLiteralStart);
                            if (promptStart === -1) {
                                console.error("Custom prompt found but no end delimiter", line)
                            }
                            const prompt = line.slice(0, promptStart).replace(customPromptLiteralStart, "")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 22 15:11:52 UTC 2025
    - 6.3K bytes
    - Viewed (2)
  2. docs/en/docs/css/custom.css

    Sebastián Ramírez <******@****.***> 1764345315 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 28 15:55:15 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. docs/ru/docs/advanced/custom-response.md

    # Кастомные ответы — HTML, поток, файл и другие { #custom-response-html-stream-file-others }
    
    По умолчанию **FastAPI** возвращает ответы с помощью `JSONResponse`.
    
    Вы можете переопределить это, вернув `Response` напрямую, как показано в разделе [Вернуть Response напрямую](response-directly.md){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/custom-response.md

    # Resposta Personalizada - HTML, Stream, File e outras { #custom-response-html-stream-file-others }
    
    Por padrão, o **FastAPI** irá retornar respostas utilizando `JSONResponse`.
    
    Mas você pode sobrescrever esse comportamento utilizando `Response` diretamente, como visto em [Retornando uma Resposta Diretamente](response-directly.md){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. 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}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. 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` も利用できます。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. 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 | 기술 세부사항
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 15 11:21:20 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. 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`。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top