- Sort Score
- Result 10 results
- Languages All
Results 1311 - 1320 of 1,685 for Response_ (0.08 sec)
-
docs/en/docs/advanced/openapi-callbacks.md
In this case, you could want to document how that external API *should* look like. What *path operation* it should have, what body it should expect, what response it should return, etc. ## An app with callbacks { #an-app-with-callbacks } Let's see all this with an example. Imagine you develop an app that allows creating invoices.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 8K bytes - Viewed (0) -
docs/ja/docs/tutorial/handling-errors.md
```JSON {"message": "Oops! yolo did something. There goes a rainbow..."} ``` /// note | 技術詳細 また、`from starlette.requests import Request`と`from starlette.responses import JSONResponse`を使用することもできます。 **FastAPI** は開発者の利便性を考慮して、`fastapi.responses`と同じ`starlette.responses`を提供しています。しかし、利用可能なレスポンスのほとんどはStarletteから直接提供されます。これは`Request`と同じです。 /// ## デフォルトの例外ハンドラのオーバーライド **FastAPI** にはいくつかのデフォルトの例外ハンドラがあります。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 11.6K bytes - Viewed (0) -
docs_src/custom_response/tutorial006b_py39.py
from fastapi import FastAPI from fastapi.responses import RedirectResponse app = FastAPI() @app.get("/fastapi", response_class=RedirectResponse) async def redirect_fastapi():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 220 bytes - Viewed (0) -
docs_src/dependencies/tutorial008e_py39.py
from fastapi import Depends, FastAPI app = FastAPI() def get_username(): try: yield "Rick" finally: print("Cleanup up before response is sent") @app.get("/users/me") def get_user_me(username: str = Depends(get_username, scope="function")):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 289 bytes - Viewed (0) -
docs_src/custom_response/tutorial006c_py39.py
from fastapi import FastAPI from fastapi.responses import RedirectResponse app = FastAPI() @app.get("/pydantic", response_class=RedirectResponse, status_code=302) async def redirect_pydantic():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 237 bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
* * TODO: update hpack-test-case with the output of our encoder. * This test will hide complementary bugs in the encoder and decoder, * We should test that the encoder is producing responses that are */ class HpackRoundTripTest : HpackDecodeTestBase() { internal class StoriesTestProvider : SimpleProvider() { override fun arguments(): List<Any> = createStories(RAW_DATA) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
docs_src/websockets/tutorial003_py39.py
from fastapi import FastAPI, WebSocket, WebSocketDisconnect from fastapi.responses import HTMLResponse app = FastAPI() html = """ <!DOCTYPE html> <html> <head> <title>Chat</title> </head> <body> <h1>WebSocket Chat</h1> <h2>Your ID: <span id="ws-id"></span></h2> <form action="" onsubmit="sendMessage(event)"> <input type="text" id="messageText" autocomplete="off"/>
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
import org.lastaflute.web.api.ApiFailureHook; import org.lastaflute.web.api.ApiFailureResource; import org.lastaflute.web.login.exception.LoginUnauthorizedException; import org.lastaflute.web.response.ApiResponse; import org.lastaflute.web.response.JsonResponse; /** * The hook for API failure. * * @author jflute */ public class FessApiFailureHook implements ApiFailureHook { // #change_it for handling API failureRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
docs/es/docs/tutorial/cookie-param-models.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 3.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java
* If an error occurs during execution, it will be cached and re-thrown for subsequent identical requests. * * @param <REQ> The request type * @param <REP> The response type * @param req The request object used as the cache key * @param supplier The function to execute and cache the result * @return The result from the supplier (either fresh or cached)Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 3.5K bytes - Viewed (0)