- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,322 for Response (0.21 sec)
-
okhttp/src/main/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.networkResponse = response.networkResponse
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jul 06 09:38:30 UTC 2024 - 15.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/Response.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.request; public interface Response {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 695 bytes - Viewed (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*. You can import it directly from `fastapi`: ```python from fastapi import Response ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 397 bytes - Viewed (0) -
docs/em/docs/advanced/response-headers.md
👆 💪 📣 `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`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/zh/docs/advanced/response-headers.md
你也可以在直接返回`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**提供了与`fastapi.responses`相同的`starlette.responses`,只是为了方便开发者。但是,大多数可用的响应都直接来自Starlette。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2K bytes - Viewed (0) -
docs/es/docs/advanced/response-headers.md
Crea un response tal como se describe en [Retornar una respuesta directamente](response-directly.md){.internal-link target=_blank} y pasa los headers como un parámetro adicional: ```Python hl_lines="10-12" {!../../docs_src/response_headers/tutorial001.py!} ``` /// note | Detalles Técnicos También podrías utilizar `from starlette.responses import Response` o `from starlette.responses import JSONResponse`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/en/docs/advanced/response-directly.md
But you can return a `JSONResponse` directly from your *path operations*. It might be useful, for example, to return custom headers or cookies. ## Return a `Response` In fact, you can return any `Response` or any sub-class of it. /// tip `JSONResponse` itself is a sub-class of `Response`. /// And when you return a `Response`, **FastAPI** will pass it directly.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3K bytes - Viewed (0) -
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) -
docs/en/docs/advanced/response-headers.md
```Python hl_lines="10-12" {!../../docs_src/response_headers/tutorial001.py!} ``` /// note | "Technical Details" You could also use `from starlette.responses import Response` or `from starlette.responses import JSONResponse`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (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.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 19:27:06 UTC 2024 - 33.4K bytes - Viewed (0)