- Sort Score
- Result 10 results
- Languages All
Results 1161 - 1170 of 1,838 for RESPONSE (0.14 sec)
-
docs_src/custom_request_and_route/tutorial001_py39.py
import gzip from typing import Callable from fastapi import Body, FastAPI, Request, Response from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 967 bytes - Viewed (0) -
docs/ru/docs/how-to/general.md
## Описание ответа в документации — OpenAPI { #documentation-response-description-openapi } Чтобы задать описание ответа, отображаемое в интерфейсе документации, прочитайте документацию: [Руководство — Конфигурации операций пути — Описание ответа](../tutorial/path-operation-configuration.md#response-description){.internal-link target=_blank}.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:37:11 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.SearchEngineUtil; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; /** * API action for admin backup. * */ public class ApiAdminBackupAction extends FessApiAdminAction { /** * Default constructor. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.Execute; import org.lastaflute.web.login.exception.LoginFailureException; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.validation.VaErrorHook; import jakarta.annotation.Resource; import jakarta.servlet.http.HttpSession; /** * The login action. */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 7.2K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002.py
return mod.app def test_main(app: FastAPI): client = TestClient(app) response = client.get("/") assert response.status_code == 200, response.text assert b"<!DOCTYPE html>" in response.content def test_websocket_with_cookie(app: FastAPI): client = TestClient(app, cookies={"session": "fakesession"})Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
import org.codelibs.fess.helper.SearchHelper; import org.codelibs.fess.opensearch.client.SearchEngineClient; import org.codelibs.fess.util.ComponentUtil; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; import jakarta.annotation.Resource; /** * API action for admin search list management. * */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/middleware.md
ミドルウェア関数は以下を受け取ります: * `request`。 * パラメータとして `request` を受け取る関数 `call_next`。 * この関数は、対応する*path operation*に `request` を渡します。 * 次に、対応する*path operation*によって生成された `response` を返します。 * その後、`response` を返す前にさらに `response` を変更することもできます。 {* ../../docs_src/middleware/tutorial001.py hl[8:9,11,14] *} /// tip | 豆知識Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 3.8K bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial001_an_py310.py
import gzip from collections.abc import Callable from typing import Annotated from fastapi import Body, FastAPI, Request, Response from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 1015 bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
*/ package jcifs.internal.dfs; import java.util.Arrays; import jcifs.Decodable; import jcifs.internal.util.SMBUtil; /** * DFS (Distributed File System) referral response buffer parser. * Decodes server responses to DFS referral requests, extracting information about * available DFS targets, path consumption details, and referral flags. * * @author mbechler */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java
/** * SMB1 Seek command response implementation. * Handles server responses to file seek operations, returning the new file * position after a seek request in SMB1 protocol file operations. * * @author mbechler */ public class SmbComSeekResponse extends ServerMessageBlock { private long offset; /** * Constructs a seek response. * * @param config the configurationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 2.8K bytes - Viewed (0)