- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,043 for tbody (0.02 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
} fun body(body: Buffer) = body(body.toMockResponseBody()) fun body(body: MockResponseBody) = apply { setHeader("Content-Length", body.contentLength) this.body = body } /** Sets the response body to the UTF-8 encoded bytes of [body]. */ fun body(body: String): Builder = body(Buffer().writeUtf8(body))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 13.3K bytes - Viewed (0) -
docs/en/docs/reference/responses.md
- media_type - body - background - raw_headers - render - init_headers - headers - set_cookie - delete_cookie ::: fastapi.responses.ORJSONResponse options: members: - charset - status_code - media_type - body - background
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/NotificationHelper.java
return; } final String body = toSlackMessage(discloser); StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> { try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) { if (response.getHttpStatusCode() == 200) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
mockWebServer: MockWebServer, ) { setUp(protocol, mockWebServer) val body = repeat('y', 2048) server.enqueue( MockResponse.Builder() .body(body) .throttleBody(1024, 1, TimeUnit.SECONDS) .build(), ) // Slow connection 1KiB/second. server.enqueue( MockResponse(body = body), ) client = client.newBuilder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
val response2 = client.newCall(request).execute() response1.body.string() // Discard the response body. response2.body.string() // Discard the response body. assertThat(server.takeRequest().sequenceNumber).isEqualTo(0) assertThat(server.takeRequest().sequenceNumber).isEqualTo(1) } @Test fun connectionsAreEvicted() { server.enqueue(MockResponse(body = "a")) server.enqueue(MockResponse(body = "b"))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
}); final EditBody body = createEditBody(entity); return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result()); } // PUT /api/admin/badword/setting @Execute public JsonResponse<ApiResult> put$setting(final CreateBody body) { validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartBody.kt
message = "moved to val", replaceWith = ReplaceWith(expression = "body"), level = DeprecationLevel.ERROR, ) fun body(): RequestBody = body companion object { @JvmStatic fun create(body: RequestBody): Part = create(null, body) @JvmStatic fun create( headers: Headers?, body: RequestBody, ): Part {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
assertThat(response2.body.string()).isEqualTo("def") val get = server.takeRequest() assertThat(get.sequenceNumber).isEqualTo(0) val post1 = server.takeRequest() assertThat(post1.body.readUtf8()).isEqualTo("body!") assertThat(post1.sequenceNumber).isEqualTo(1) val post2 = server.takeRequest() assertThat(post2.body.readUtf8()).isEqualTo("body!")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
if (requestBody.isDuplex()) { // Prepare a duplex body so that the application can send a request body later. exchange.flushRequest() val bufferedRequestBody = exchange.createRequestBody(request, true).buffer() requestBody.writeTo(bufferedRequestBody) } else { // Write the request body if the "Expect: 100-continue" expectation was met.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java
} protected EditBody createEditBody(final SynonymItem entity, final String dictId) { final EditBody body = new EditBody(); body.id = entity.getId(); body.dictId = dictId; body.inputs = entity.getInputsValue(); body.outputs = entity.getOutputsValue(); return body; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.1K bytes - Viewed (0)