- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 1,842 for RESPONSE (0.13 seconds)
-
docs/en/docs/advanced/response-change-status-code.md
For those cases, you can use a `Response` parameter. ## Use a `Response` parameter { #use-a-response-parameter } You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies and headers). And then you can set the `status_code` in that *temporal* response object. {* ../../docs_src/response_change_status_code/tutorial001_py310.py hl[1,9,12] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Response.java
/** * Abstract base class for transport layer response objects. * Represents a response that can be received through the SMB1 transport layer. */ public abstract class Response { /** * Default constructor for Response. */ public Response() { // Default constructor } /** * The expiration time for this response in milliseconds. */ public long expiration;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 557 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
} internal constructor(response: Response) { this.request = response.request this.protocol = response.protocol this.code = response.code this.message = response.message this.handshake = response.handshake this.headers = response.headers.newBuilder() this.body = response.body this.socket = response.socket this.networkResponse = response.networkResponseCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Response.java
*/ package jcifs.util.transport; /** * Interface for transport response messages. * This interface represents responses received from network transports. */ public interface Response extends Message { /** * Checks if the response has been received. * * @return whether the response is received */ boolean isReceived(); /** * Set received statusCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/en/docs/reference/response.md
# `Response` class You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies. You can also use it directly to create an instance of it and return it from your *path operations*. Read more about it in the [FastAPI docs about returning a custom Response](https://fastapi.tiangolo.com/advanced/response-directly/#returning-a-custom-response)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 559 bytes - Click Count (0) -
docs/zh-hant/docs/advanced/custom-response.md
# 自訂回應——HTML、串流、檔案與其他 { #custom-response-html-stream-file-others } 預設情況下,**FastAPI** 會回傳 JSON 回應。 你可以像在[直接回傳 Response](response-directly.md)中所示,直接回傳一個 `Response` 來覆寫它。 但如果你直接回傳一個 `Response`(或其子類別,例如 `JSONResponse`),資料將不會被自動轉換(即使你宣告了 `response_model`),而且文件也不會自動產生(例如,在產生的 OpenAPI 中包含 HTTP 標頭 `Content-Type` 的特定「media type」)。 你也可以在「路徑操作裝飾器」中使用 `response_class` 參數,宣告要使用的 `Response`(例如任意 `Response` 子類別)。 你從「路徑操作函式」回傳的內容,會被放進該 `Response` 中。 /// noteCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.3K bytes - Click Count (0) -
cmd/api-response.go
w.WriteHeader(statusCode) if response != nil { w.Write(response) } } // mimeType represents various MIME type used API responses. type mimeType string const ( // Means no response type. mimeNone mimeType = "" // Means response type is JSON. mimeJSON mimeType = "application/json" // Means response type is XML.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
# Custom Response - HTML, Stream, File, others { #custom-response-html-stream-file-others } By default, **FastAPI** will return JSON responses. You can override it by returning a `Response` directly as seen in [Return a Response directly](response-directly.md).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/es/docs/advanced/response-headers.md
# Headers de Response { #response-headers } ## Usa un parámetro `Response` { #use-a-response-parameter } Puedes declarar un parámetro de tipo `Response` en tu *path operation function* (como puedes hacer para cookies). Y luego puedes establecer headers en ese objeto de response *temporal*. {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 2.3K bytes - Click Count (0) -
docs/uk/docs/advanced/response-directly.md
/// ## Повернення `Response` { #return-a-response } Ви можете повертати `Response` або будь-який його підклас. /// info | Інформація `JSONResponse` сам є підкласом `Response`. /// І коли ви повертаєте `Response`, **FastAPI** передасть його безпосередньо.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 6.7K bytes - Click Count (0)