- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 33 for responseHeaders (0.07 seconds)
-
docs/ru/docs/advanced/response-headers.md
Вы можете объявить параметр типа `Response` в вашей функции-обработчике пути (как можно сделать и для cookie). А затем вы можете устанавливать HTTP-заголовки в этом *временном* объекте ответа. {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} После этого вы можете вернуть любой нужный объект, как обычно (например, `dict`, модель из базы данных и т.д.).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 3.5K bytes - Click Count (0) -
docs/tr/docs/advanced/response-headers.md
*Path operation function* içinde (cookie'lerde yapabildiğiniz gibi) tipi `Response` olan bir parametre tanımlayabilirsiniz. Sonra da bu *geçici* response nesnesi üzerinde header'ları ayarlayabilirsiniz. {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} Ardından normalde yaptığınız gibi ihtiyacınız olan herhangi bir nesneyi döndürebilirsiniz (bir `dict`, bir veritabanı modeli vb.).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/pt/docs/advanced/response-headers.md
Você pode declarar um parâmetro do tipo `Response` na sua *função de operação de rota* (assim como você pode fazer para cookies). Então você pode definir os cabeçalhos nesse objeto de resposta *temporário*. {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} Em seguida você pode retornar qualquer objeto que precisar, da maneira que faria normalmente (um `dict`, um modelo de banco de dados, etc.).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/zh/docs/advanced/response-headers.md
# 响应头 { #response-headers } ## 使用 `Response` 参数 { #use-a-response-parameter } 你可以在你的*路径操作函数*中声明一个 `Response` 类型的参数(就像你可以为 cookies 做的那样)。 然后你可以在这个*临时*响应对象中设置头部。 {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} 然后你可以像平常一样返回任何你需要的对象(例如一个 `dict` 或者一个数据库模型)。 如果你声明了一个 `response_model`,它仍然会被用来过滤和转换你返回的对象。 **FastAPI** 将使用这个*临时*响应来提取头部(也包括 cookies 和状态码),并将它们放入包含你返回的值的最终响应中,该响应由任何 `response_model` 过滤。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.1K bytes - Click Count (0) -
docs/de/docs/advanced/response-headers.md
Und dann können Sie Header in diesem *vorübergehenden* <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr>-Objekt festlegen. {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} Anschließend können Sie wie gewohnt jedes gewünschte Objekt zurückgeben (ein `dict`, ein Datenbankmodell, usw.).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 2.6K bytes - Click Count (2) -
docs/en/docs/advanced/response-headers.md
You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies). And then you can set headers in that *temporal* response object. {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} And then you can return any object you need, as you normally would (a `dict`, a database model, etc).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.2K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/response-headers.md
# 回應標頭 { #response-headers } ## 使用 `Response` 參數 { #use-a-response-parameter } 你可以在你的*路徑操作函式(path operation function)*中宣告一個 `Response` 型別的參數(就像處理 Cookie 一樣)。 然後你可以在那個*暫時性的* `Response` 物件上設定標頭。 {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} 接著你可以像平常一樣回傳任何你需要的物件(`dict`、資料庫模型等)。 如果你宣告了 `response_model`,它仍會用來過濾並轉換你回傳的物件。 FastAPI 會使用那個暫時性的回應來擷取標頭(還有 Cookie 與狀態碼),並把它們放到最終回應中;最終回應包含你回傳的值,且會依任何 `response_model` 進行過濾。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.1K bytes - Click Count (0) -
docs/ko/docs/advanced/response-headers.md
## `Response` 매개변수 사용하기 { #use-a-response-parameter } 여러분은 *경로 처리 함수*에서 `Response` 타입의 매개변수를 선언할 수 있습니다 (쿠키와 같이 사용할 수 있습니다). 그런 다음, 여러분은 해당 *임시* 응답 객체에서 헤더를 설정할 수 있습니다. {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} 그 후, 일반적으로 사용하듯이 필요한 객체(`dict`, 데이터베이스 모델 등)를 반환할 수 있습니다. `response_model`을 선언한 경우, 반환한 객체를 필터링하고 변환하는 데 여전히 사용됩니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 2.5K bytes - Click Count (0) -
docs/ja/docs/advanced/response-headers.md
# レスポンスヘッダー { #response-headers } ## `Response` パラメータを使う { #use-a-response-parameter } (Cookie と同様に)*path operation 関数*で `Response` 型のパラメータを宣言できます。 そして、その*一時的*なレスポンスオブジェクトにヘッダーを設定できます。 {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} その後は通常どおり、必要な任意のオブジェクト(`dict`、データベースモデルなど)を返せます。 `response_model` を宣言している場合は、返したオブジェクトのフィルタと変換に引き続き使用されます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 2.7K bytes - Click Count (0) -
docs/logging/README.md
"X-Amz-Content-Sha256": "STREAMING-AWS4-HMAC-SHA256-PAYLOAD", "X-Amz-Date": "20240509T073810Z", "X-Amz-Decoded-Content-Length": "228" }, "responseHeader": { "Accept-Ranges": "bytes", "Content-Length": "0", "ETag": "9fe7a344ef4227d3e53751e9d88ce41e", "Server": "MinIO", "Strict-Transport-Security": "max-age=31536000; includeSubDomains",Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 10.5K bytes - Click Count (0)