- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,142 for Body (0.18 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java
* * @param body the request header data to create * @return JSON response containing the created request header setting ID */ // POST /api/admin/reqheader/setting @Execute public JsonResponse<ApiResult> post$setting(final CreateBody body) { validateApi(body, messages -> {}); if (!isValidWebConfigId(body.webConfigId)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java
* * @param body the web authentication data to create * @return JSON response containing the created web authentication setting ID */ // POST /api/admin/webauth/setting @Execute public JsonResponse<ApiResult> post$setting(final CreateBody body) { validateApi(body, messages -> {}); if (!isValidWebConfigId(body.webConfigId)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.1K bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial001_an_py310.py
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) 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 - 1015 bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
assertThat(response2.body.string()).isEqualTo("def") val get = server.takeRequest() assertThat(get.exchangeIndex).isEqualTo(0) val post1 = server.takeRequest() assertThat(post1.body?.utf8()).isEqualTo("body!") assertThat(post1.exchangeIndex).isEqualTo(1) val post2 = server.takeRequest() assertThat(post2.body?.utf8()).isEqualTo("body!") assertThat(post2.exchangeIndex).isEqualTo(0)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
Request( url = server.url("/"), body = body.toRequestBody(), ), ) assertThat(response.code).isEqualTo(200) response.body.byteStream().close() val recordedRequest1 = server.takeRequest() assertThat(recordedRequest1.method).isEqualTo("POST") assertThat(recordedRequest1.body?.utf8()).isEqualTo(body) assertThat(recordedRequest1.headers["Authorization"]).isNull()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
tests/test_params_repr.py
def test_body_repr_str(): assert repr(Body("teststr")) == "Body(teststr)" def test_body_repr_none(): assert repr(Body(None)) == "Body(None)" def test_body_repr_ellipsis(): assert repr(Body(...)) == "Body(PydanticUndefined)" def test_body_repr_number(): assert repr(Body(1)) == "Body(1)" def test_body_repr_list():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java
* * @param body path mapping setting data to create * @return JSON response with created setting ID and status */ @Execute public JsonResponse<ApiResult> post$setting(final CreateBody body) { validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE; final PathMapping entity = getPathMapping(body).orElseGet(() -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java
* * @param body related content setting data to create * @return JSON response with created setting ID and status */ @Execute public JsonResponse<ApiResult> post$setting(final CreateBody body) { validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE; final RelatedContent relatedContent = getRelatedContent(body).map(entity -> { try {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.4K bytes - Viewed (0) -
internal/http/response-recorder.go
} } // blobBody returns a dummy body placeholder for blob (binary stream) var blobBody = []byte("<BLOB>") // gzippedBody returns a dummy body placeholder for gzipped content var gzippedBody = []byte("<GZIP>") // Body - Return response body. func (lrw *ResponseRecorder) Body() []byte { if lrw.Header().Get("Content-Encoding") == "gzip" { if lrw.body.Len() > 1<<20 { return gzippedBody }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 5.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
headersBuilder.removeAll(name) } fun getBody(): Buffer? = body?.clone() fun setBody(body: Buffer) = apply { setHeader("Content-Length", body.size) this.body = body.clone() // Defensive copy. } fun setBody(body: String): MockResponse = setBody(Buffer().writeUtf8(body)) fun setChunkedBody( body: Buffer, maxChunkSize: Int, ) = apply {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 7.1K bytes - Viewed (1)