Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 36 for RedirectResponse (0.12 seconds)

  1. docs/uk/docs/advanced/custom-response.md

    Це ідеальний спосіб отримати найкращу продуктивність.
    
    ///
    
    ### `RedirectResponse` { #redirectresponse }
    
    Повертає HTTP-перенаправлення. Типово використовує код статусу 307 (Temporary Redirect).
    
    Ви можете повернути `RedirectResponse` безпосередньо:
    
    {* ../../docs_src/custom_response/tutorial006_py310.py hl[2,9] *}
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 17K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/custom-response.md

    Esta es la forma ideal de obtener el mejor rendimiento.
    
    ///
    
    ### `RedirectResponse` { #redirectresponse }
    
    Devuelve una redirección HTTP. Usa un código de estado 307 (Redirección Temporal) por defecto.
    
    Puedes devolver un `RedirectResponse` directamente:
    
    {* ../../docs_src/custom_response/tutorial006_py310.py hl[2,9] *}
    
    ---
    
    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)
  3. docs/ko/docs/advanced/custom-response.md

    이 방식이 최상의 성능을 얻는 이상적인 방법입니다.
    
    ///
    
    ### `RedirectResponse` { #redirectresponse }
    
    HTTP 리디렉션 응답을 반환합니다. 기본적으로 상태 코드는 307(임시 리디렉션)으로 설정됩니다.
    
    `RedirectResponse`를 직접 반환할 수 있습니다:
    
    {* ../../docs_src/custom_response/tutorial006_py310.py hl[2,9] *}
    
    ---
    
    또는 `response_class` 매개변수에서 사용할 수도 있습니다:
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/custom-response.md

    Esta é a forma ideal para obter a melhor performance.
    
    ///
    
    ### `RedirectResponse` { #redirectresponse }
    
    Retorna um redirecionamento HTTP. Utiliza o código de status 307 (Redirecionamento Temporário) por padrão.
    
    Você pode retornar uma `RedirectResponse` diretamente:
    
    {* ../../docs_src/custom_response/tutorial006_py310.py hl[2,9] *}
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  5. docs/ja/docs/advanced/custom-response.md

    ただし、レスポンスモデルや返却型を宣言した場合は、それが直接データのJSONシリアライズに使われ、適切なJSONのメディアタイプを持つレスポンスが `JSONResponse` クラスを使わずに直接返されます。
    
    これが最適なパフォーマンスを得る理想的な方法です。
    
    ///
    
    ### `RedirectResponse` { #redirectresponse }
    
    HTTPリダイレクトを返します。デフォルトでは307ステータスコード(Temporary Redirect)を使用します。
    
    `RedirectResponse` を直接返せます:
    
    {* ../../docs_src/custom_response/tutorial006_py310.py hl[2,9] *}
    
    ---
    
    または、`response_class` パラメータで使用できます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/response-model.md

    І інструменти також будуть задоволені, бо і `RedirectResponse`, і `JSONResponse` є підкласами `Response`, отже анотація типу коректна.
    
    ### Анотувати підклас Response { #annotate-a-response-subclass }
    
    Ви також можете використати підклас `Response` в анотації типу:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.2K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/response-model.md

    И инструменты тоже будут довольны, потому что и `RedirectResponse`, и `JSONResponse` являются подклассами `Response`, так что аннотация типа корректна.
    
    ### Аннотировать подкласс Response { #annotate-a-response-subclass }
    
    Вы также можете использовать подкласс `Response` в аннотации типа:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.5K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/response-model.md

    Este caso simples é tratado automaticamente pelo FastAPI porque a anotação do tipo de retorno é a classe (ou uma subclasse de) `Response`.
    
    E as ferramentas também ficarão felizes porque `RedirectResponse` e ​​`JSONResponse` são subclasses de `Response`, então a anotação de tipo está correta.
    
    ### Anote uma subclasse de Response { #annotate-a-response-subclass }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/response-model.md

    Este caso simple es manejado automáticamente por FastAPI porque la anotación del tipo de retorno es la clase (o una subclase de) `Response`.
    
    Y las herramientas también estarán felices porque tanto `RedirectResponse` como `JSONResponse` son subclases de `Response`, por lo que la anotación del tipo es correcta.
    
    ### Anotar una Subclase de Response { #annotate-a-response-subclass }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/response-model.md

    Bu basit durum FastAPI tarafından otomatik olarak ele alınır; çünkü dönüş tipi annotation’ı `Response` class’ıdır (veya onun bir subclass’ı).
    
    Araçlar da memnun olur; çünkü hem `RedirectResponse` hem `JSONResponse`, `Response`’un subclass’ıdır. Yani type annotation doğrudur.
    
    ### Bir Response Subclass’ını Annotate Etmek { #annotate-a-response-subclass }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17K bytes
    - Click Count (0)
Back to Top