- Sort Score
- Num 10 results
- Language All
Results 1121 - 1130 of 1,943 for Responses (0.06 seconds)
-
docs/zh-hant/docs/tutorial/middleware.md
/// /// note | 技術細節 你也可以使用 `from starlette.requests import Request`。 **FastAPI** 為了方便開發者而提供了它,但實際上它直接來自 Starlette。 /// ### 在 `response` 之前與之後 { #before-and-after-the-response } 你可以在任何*路徑操作*接收 `request` 之前,加入要執行的程式碼。 也可以在產生出 `response` 之後、回傳之前執行程式碼。 例如,你可以新增一個自訂標頭 `X-Process-Time`,其內容為處理請求並產生回應所花費的秒數: {* ../../docs_src/middleware/tutorial001_py310.py hl[10,12:13] *} /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/ActionResponseCredential.java
*/ package org.codelibs.fess.app.web.base.login; import java.util.function.Supplier; import org.lastaflute.web.login.credential.LoginCredential; import org.lastaflute.web.response.ActionResponse; /** * The credential for action response. */ public class ActionResponseCredential implements LoginCredential { private final Supplier<ActionResponse> action; /** * Constructor.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/en/docs/tutorial/background-tasks.md
# Background Tasks { #background-tasks } You can define background tasks to be run *after* returning a response. This is useful for operations that need to happen after a request, but that the client doesn't really have to be waiting for the operation to complete before receiving the response. This includes, for example: * Email notifications sent after performing an action:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.7K bytes - Click Count (0) -
scripts/people.py
raise RuntimeError(response.text) data = response.json() if "errors" in data: logging.error(f"Errors in response, after: {after}, category_id: {category_id}") logging.error(data["errors"]) logging.error(response.text) raise RuntimeError(response.text) return data def get_graphql_question_discussion_edges( *, settings: Settings,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:51:24 GMT 2026 - 15K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt
.url("https://api.imgur.com/3/image") .post(requestBody) .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { /** * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
assertTrue(reqCap.getValue() instanceof NtTransNotifyChange, "SMB1 notify request must be used"); } // If a response is not marked as received, throw a CIFSException @Test @DisplayName("watch() throws CIFSException when response not received") void watch_responseNotReceived_throwsCIFSException() throws Exception { NotifyResponse resp = mock(NotifyResponse.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java
/** * Displays the profile index page. * * @return the HTML response */ @Execute public HtmlResponse index() { return asIndexHtml(); } /** * Changes the user password. * * @param form the profile form * @return the HTML response */ @Execute public HtmlResponse changePassword(final ProfileForm form) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 6.3K bytes - Click Count (0) -
docs/uk/docs/tutorial/middleware.md
/// ### До і після `response` { #before-and-after-the-response } Ви можете додати код, який буде виконуватися з `request`, до того, як його отримає будь-яка *операція шляху*. Також ви можете додати код, який буде виконуватися після того, як `response` буде згенеровано, перед тим як її повернути.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 6.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
}, 1, TimeUnit.SECONDS); System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f); try (Response response = call.execute()) { System.out.printf("%.2f Call was expected to fail, but completed: %s%n", (System.nanoTime() - startNanos) / 1e9f, response); } catch (IOException e) { System.out.printf("%.2f Call failed as expected: %s%n",Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 2.1K bytes - Click Count (0) -
cmd/object-api-datatypes.go
type ListObjectVersionsInfo struct { // Indicates whether the returned list objects response is truncated. A // value of true indicates that the list was truncated. The list can be truncated // if the number of objects exceeds the limit allowed or specified // by max keys. IsTruncated bool // When response is truncated (the IsTruncated element value in the response is true), // you can use the key name in this field as marker in the subsequentCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21.2K bytes - Click Count (0)