Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,496 for RESPONSE (0.06 sec)

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

    ๐Ÿ”ข, **FastAPI** ๐Ÿ”œ ๐Ÿ“จ ๐Ÿ“จ โš™๏ธ `JSONResponse`.
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ” โšซ๏ธ ๐Ÿ›ฌ `Response` ๐Ÿ”— ๐Ÿ‘€ [๐Ÿ“จ ๐Ÿ“จ ๐Ÿ”—](response-directly.md){.internal-link target=_blank}.
    
    โœ‹๏ธ ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ“จ `Response` ๐Ÿ”—, ๐Ÿ“Š ๐Ÿ† ๐Ÿšซ ๐Ÿ” ๐Ÿ—œ, & ๐Ÿงพ ๐Ÿ† ๐Ÿšซ ๐Ÿ” ๐Ÿ— (๐Ÿ–ผ, ๐Ÿ”Œ ๐ŸŽฏ "๐Ÿ“ป ๐Ÿ†Ž", ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐ŸŽš `Content-Type` ๐Ÿ• ๐Ÿ— ๐Ÿ—„).
    
    โœ‹๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ `Response` ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’š โš™๏ธ, *โžก ๐Ÿ› ๏ธ ๐Ÿ‘จโ€๐ŸŽจ*.
    
    ๐ŸŽš ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ“จ โšช๏ธโžก๏ธ ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* ๐Ÿ”œ ๐Ÿšฎ ๐Ÿ”˜ ๐Ÿ‘ˆ `Response`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/response-directly.md

    ็›ดๆŽฅ่ฟ”ๅ›žๅ“ๅบ”ๅฏ่ƒฝไผšๆœ‰็”จๅค„๏ผŒๆฏ”ๅฆ‚่ฟ”ๅ›ž่‡ชๅฎšไน‰็š„ๅ“ๅบ”ๅคดๅ’Œ cookiesใ€‚
    
    ## ่ฟ”ๅ›ž `Response`
    
    ไบ‹ๅฎžไธŠ๏ผŒไฝ ๅฏไปฅ่ฟ”ๅ›žไปปๆ„ `Response` ๆˆ–่€…ไปปๆ„ `Response` ็š„ๅญ็ฑปใ€‚
    
    /// tip | "ๅฐ่ดดๅฃซ"
    
    `JSONResponse` ๆœฌ่บซๆ˜ฏไธ€ไธช `Response` ็š„ๅญ็ฑปใ€‚
    
    ///
    
    ๅฝ“ไฝ ่ฟ”ๅ›žไธ€ไธช `Response` ๆ—ถ๏ผŒ**FastAPI** ไผš็›ดๆŽฅไผ ้€’ๅฎƒใ€‚
    
    **FastAPI** ไธไผš็”จ Pydantic ๆจกๅž‹ๅšไปปไฝ•ๆ•ฐๆฎ่ฝฌๆข๏ผŒไธไผšๅฐ†ๅ“ๅบ”ๅ†…ๅฎน่ฝฌๆขๆˆไปปไฝ•็ฑปๅž‹๏ผŒ็ญ‰็ญ‰ใ€‚
    
    ่ฟ™็ง็‰นๆ€ง็ป™ไฝ ๆžๅคง็š„ๅฏๆ‰ฉๅฑ•ๆ€งใ€‚ไฝ ๅฏไปฅ่ฟ”ๅ›žไปปไฝ•ๆ•ฐๆฎ็ฑปๅž‹๏ผŒ้‡ๅ†™ไปปไฝ•ๆ•ฐๆฎๅฃฐๆ˜Žๆˆ–่€…ๆ ก้ชŒ๏ผŒ็ญ‰็ญ‰ใ€‚
    
    ## ๅœจ `Response` ไธญไฝฟ็”จ `jsonable_encoder`
    
    ็”ฑไบŽ **FastAPI** ๅนถๆœชๅฏนไฝ ่ฟ”ๅ›ž็š„ `Response` ๅšไปปไฝ•ๆ”นๅ˜๏ผŒไฝ ๅฟ…้กป็กฎไฟไฝ ๅทฒ็ปๅ‡†ๅค‡ๅฅฝๅ“ๅบ”ๅ†…ๅฎนใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/response-model.md

    Und Tools werden auch glรผcklich sein, weil sowohl `RedirectResponse` als auch `JSONResponse` Unterklassen von `Response` sind, die Typannotation ist daher korrekt.
    
    ### Eine Unterklasse von Response annotieren
    
    Sie kรถnnen auch eine Unterklasse von `Response` in der Typannotation verwenden.
    
    ```Python hl_lines="8-9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. docs/ko/docs/advanced/response-directly.md

    ์˜ˆ๋ฅผ ๋“ค์–ด, ์‚ฌ์šฉ์ž ์ •์˜ ํ—ค๋”๋‚˜ ์ฟ ํ‚ค๋ฅผ ๋ฐ˜ํ™˜ํ•ด์•ผ ํ•˜๋Š” ๊ฒฝ์šฐ์— ์œ ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ## `Response` ๋ฐ˜ํ™˜ํ•˜๊ธฐ
    
    ์‚ฌ์‹ค, `Response` ๋˜๋Š” ๊ทธ ํ•˜์œ„ ํด๋ž˜์Šค๋ฅผ ๋ฐ˜ํ™˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    /// tip
    
    `JSONResponse` ์ž์ฒด๋„ `Response`์˜ ํ•˜์œ„ ํด๋ž˜์Šค์ž…๋‹ˆ๋‹ค.
    
    ///
    
    ๊ทธ๋ฆฌ๊ณ  `Response`๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋ฉด **FastAPI**๊ฐ€ ์ด๋ฅผ ๊ทธ๋Œ€๋กœ ์ „๋‹ฌํ•ฉ๋‹ˆ๋‹ค.
    
    Pydantic ๋ชจ๋ธ๋กœ ๋ฐ์ดํ„ฐ ๋ณ€ํ™˜์„ ์ˆ˜ํ–‰ํ•˜์ง€ ์•Š์œผ๋ฉฐ, ๋‚ด์šฉ์„ ๋‹ค๋ฅธ ํ˜•์‹์œผ๋กœ ๋ณ€ํ™˜ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
    
    ์ด๋กœ ์ธํ•ด ๋งŽ์€ ์œ ์—ฐ์„ฑ์„ ์–ป์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์–ด๋–ค ๋ฐ์ดํ„ฐ ์œ ํ˜•์ด๋“  ๋ฐ˜ํ™˜ํ•  ์ˆ˜ ์žˆ๊ณ , ๋ฐ์ดํ„ฐ ์„ ์–ธ์ด๋‚˜ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ๋ฅผ ์žฌ์ •์˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ## `Response`์—์„œ `jsonable_encoder` ์‚ฌ์šฉํ•˜๊ธฐ
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 20:00:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/response-headers.md

    Erstellen Sie eine Response wie in [Eine Response direkt zurรผckgeben](response-directly.md){.internal-link target=_blank} beschrieben und รผbergeben Sie die Header als zusรคtzlichen Parameter:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_headers/tutorial001.py!}
    ```
    
    /// note | "Technische Details"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/response-headers.md

    **FastAPI** will use that *temporal* response to extract the headers (also cookies and status code), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    You can also declare the `Response` parameter in dependencies, and set headers (and cookies) in them.
    
    ## Return a `Response` directly
    
    You can also add headers when you return a `Response` directly.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/response-cookies.md

    ## ็›ดๆŽฅๅ“ๅบ” `Response`
    
    ไฝ ่ฟ˜ๅฏไปฅๅœจ็›ดๆŽฅๅ“ๅบ”`Response`ๆ—ถ็›ดๆŽฅๅˆ›ๅปบcookiesใ€‚
    
    ไฝ ๅฏไปฅๅ‚่€ƒ[Return a Response Directly](response-directly.md){.internal-link target=_blank}ๆฅๅˆ›ๅปบresponse
    
    ็„ถๅŽ่ฎพ็ฝฎCookies๏ผŒๅนถ่ฟ”ๅ›ž๏ผš
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip
    
    ้œ€่ฆๆณจๆ„๏ผŒๅฆ‚ๆžœไฝ ็›ดๆŽฅๅ้ฆˆไธ€ไธชresponseๅฏน่ฑก๏ผŒ่€Œไธๆ˜ฏไฝฟ็”จ`Response`ๅ…ฅๅ‚๏ผŒFastAPIๅˆ™ไผš็›ดๆŽฅๅ้ฆˆไฝ ๅฐ่ฃ…็š„responseๅฏน่ฑกใ€‚
    
    ๆ‰€ไปฅไฝ ้œ€่ฆ็กฎไฟไฝ ๅ“ๅบ”ๆ•ฐๆฎ็ฑปๅž‹็š„ๆญฃ็กฎๆ€ง๏ผŒๅฆ‚๏ผšไฝ ๅฏไปฅไฝฟ็”จ`JSONResponse`ๆฅๅ…ผๅฎนJSON็š„ๅœบๆ™ฏใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/response-cookies.md

    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ `Response` ๐Ÿ”ข ๐Ÿ”—, & โš’ ๐Ÿช (& ๐ŸŽš) ๐Ÿ‘ซ.
    
    ## ๐Ÿ“จ `Response` ๐Ÿ”—
    
    ๐Ÿ‘† ๐Ÿ’ช โœ ๐Ÿช ๐Ÿ•โ” ๐Ÿ›ฌ `Response` ๐Ÿ”— ๐Ÿ‘† ๐Ÿ“Ÿ.
    
    ๐Ÿ‘ˆ, ๐Ÿ‘† ๐Ÿ’ช โœ ๐Ÿ“จ ๐Ÿ”ฌ [๐Ÿ“จ ๐Ÿ“จ ๐Ÿ”—](response-directly.md){.internal-link target=_blank}.
    
    โคด๏ธ โš’ ๐Ÿช โšซ๏ธ, & โคด๏ธ ๐Ÿ“จ โšซ๏ธ:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip
    
    โœ”๏ธ ๐Ÿคฏ ๐Ÿ‘ˆ ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ“จ ๐Ÿ“จ ๐Ÿ”— โ†ฉ๏ธ โš™๏ธ `Response` ๐Ÿ”ข, FastAPI ๐Ÿ”œ ๐Ÿ“จ โšซ๏ธ ๐Ÿ”—.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/custom-response.md

    Mas vocรช tambรฉm pode declarar a `Response` que vocรช deseja utilizar (e.g. qualquer subclasse de `Response`), em um *decorador de operaรงรฃo de rota* utilizando o parรขmetro `response_class`.
    
    Os conteรบdos que vocรช retorna em sua *funรงรฃo de operador de rota* serรฃo colocados dentro dessa `Response`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:47:10 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/response-model.md

    ```
    
    ๐Ÿ‘‰ ๐Ÿ™… ๐Ÿ’ผ ๐Ÿต ๐Ÿ” FastAPI โ†ฉ๏ธ ๐Ÿ“จ ๐Ÿ†Ž โœ ๐ŸŽ“ (โš–๏ธ ๐Ÿฟ) `Response`.
    
    & ๐Ÿงฐ ๐Ÿ”œ ๐Ÿ˜„ โ†ฉ๏ธ ๐Ÿ‘ฏโ€โ™‚๏ธ `RedirectResponse` & `JSONResponse` ๐Ÿฟ `Response`, ๐Ÿ†Ž โœ โ˜‘.
    
    ### โœ ๐Ÿ“จ ๐Ÿฟ
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐Ÿฟ `Response` ๐Ÿ†Ž โœ:
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/response_model/tutorial003_03.py!}
    ```
    
    ๐Ÿ‘‰ ๐Ÿ”œ ๐Ÿ‘ท โ†ฉ๏ธ `RedirectResponse` ๐Ÿฟ `Response`, & FastAPI ๐Ÿ”œ ๐Ÿ” ๐Ÿต ๐Ÿ‘‰ ๐Ÿ™… ๐Ÿ’ผ.
    
    ### โŒ ๐Ÿ“จ ๐Ÿ†Ž โœ
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top