# ๐จ ๐
## โ๏ธ `Response` ๐ข
๐ ๐ช ๐ฃ ๐ข ๐ `Response` ๐ *โก ๐ ๏ธ ๐ข* (๐ ๐ช ๐ช).
& โคด๏ธ ๐ ๐ช โ ๐ ๐ *๐* ๐จ ๐.
```Python hl_lines="1 7-8"
{!../../docs_src/response_headers/tutorial002.py!}
```
& โคด๏ธ ๐ ๐ช ๐จ ๐ ๐ ๐ ๐ช, ๐ ๐ ๐ ( `dict`, ๐ฝ ๐ท, โ๏ธ).
& ๐ฅ ๐ ๐ฃ `response_model`, โซ๏ธ ๐ โ๏ธ โฝ & ๐ ๐ ๐ ๐จ.
**FastAPI** ๐ โ๏ธ ๐ *๐* ๐จ โ ๐ (๐ช & ๐ ๐), & ๐ ๐ฎ ๐ซ ๐ ๐จ ๐ ๐ ๐ฒ ๐ ๐จ, โฝ ๐ `response_model`.
๐ ๐ช ๐ฃ `Response` ๐ข ๐, & โ ๐ (& ๐ช) ๐ซ.
## ๐จ `Response` ๐
๐ ๐ช ๐ฎ ๐ ๐โ ๐ ๐จ `Response` ๐.
โ ๐จ ๐ฌ [๐จ ๐จ ๐](response-directly.md){.internal-link target=_blank} & ๐ถโโ๏ธ ๐ ๐ ๐ข:
```Python hl_lines="10-12"
{!../../docs_src/response_headers/tutorial001.py!}
```
/// note | ๐ก โน
๐ ๐ช โ๏ธ `from starlette.responses import Response` โ๏ธ `from starlette.responses import JSONResponse`.
**FastAPI** ๐ ๐ `starlette.responses` `fastapi.responses` ๐ช ๐, ๐ฉโ๐ป. โ๏ธ ๐
๐ช ๐จ ๐ ๐ โช๏ธโก๏ธ ๐.
& `Response` ๐ช โ๏ธ ๐ โ ๐ & ๐ช, **FastAPI** ๐ โซ๏ธ `fastapi.Response`.
///
## ๐ ๐
โ๏ธ ๐คฏ ๐ ๐ ยฉ ๐ ๐ช ๐ฎ โ๏ธ 'โ-' ๐ก.
โ๏ธ ๐ฅ ๐ โ๏ธ ๐ ๐ ๐ ๐ ๐ ๐ฉโ๐ป ๐ฅ ๐ช ๐, ๐ ๐ช ๐ฎ ๐ซ ๐ โ ๐ณ (โ ๐
[โ (โ๏ธ-๐จ๐ณ โน ๐ค)](../tutorial/cors.md){.internal-link target=_blank}), โ๏ธ ๐ข `expose_headers` ๐ ๐ โ ๐ฉบ.