- Sort Score
- Num 10 results
- Language All
Results 891 - 900 of 1,967 for respond (0.06 seconds)
-
cmd/api-headers.go
// this in other places. func encodeResponseList(response any) []byte { var buf bytes.Buffer buf.WriteString(xxml.Header) if err := xxml.NewEncoder(&buf).Encode(response); err != nil { bugLogIf(GlobalContext, err) return nil } return buf.Bytes() } // Encodes the response headers into JSON format. func encodeResponseJSON(response any) []byte { var bytesBuffer bytes.Buffer
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.6K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
} final String sid = scrollId; response = getClient().get(c -> c.prepareSearchScroll(sid).setScroll(new TimeValue(scrollTimeout)).execute()); if (!scrollId.equals(response.getScrollId())) { getClient().clearScroll(scrollId); } scrollId = response.getScrollId(); } } finally {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 11.1K bytes - Click Count (0) -
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) -
docs_src/async_tests/app_a_py310/test_main.py
@pytest.mark.anyio async def test_root(): async with AsyncClient( transport=ASGITransport(app=app), base_url="http://test" ) as ac: response = await ac.get("/") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 360 bytes - Click Count (0) -
docs/fr/docs/advanced/additional-responses.md
* [Objet Responses de OpenAPI](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#responses-object), il inclut le `Response Object`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 9.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java
requestBody.put("sort_order", 1); checkMethodBase(requestBody).post("/api/admin/webconfig/setting") .then() .body("response.created", equalTo(true)) .body("response.status", equalTo(0)); } String getWebConfigId() { final Map<String, Object> searchBody = new HashMap<>(); searchBody.put("name", "test_webconfig");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 3.9K bytes - Click Count (0) -
tests/test_dependency_class.py
("/async-callable-gen-dependency-class", "async-callable-gen-dependency-class"), ], ) def test_class_dependency(route, value): response = client.get(route, params={"value": value}) assert response.status_code == 200, response.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/features/events.md
System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } System.out.println("REQUEST 2 (pooled connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } ```
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 7.7K 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/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java
import org.codelibs.fess.helper.PermissionHelper; import org.codelibs.fess.opensearch.config.exentity.FileConfig; import org.codelibs.fess.util.ComponentUtil; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import jakarta.annotation.Resource; /** * API action for admin file configuration management.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.2K bytes - Click Count (0)