- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 922 for tbody (0.02 sec)
-
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
return DELETE_ENDPOINT_SUFFIX; } protected Response checkDeleteMethod(final Map<String, Object> body) { return checkMethodBase(body).delete(getApiPath() + "/"); } @Test void testInstalled_ok() { checkGetMethod(Collections.emptyMap(), getInstalledEndpointSuffix() + "/").then().body("response.status", equalTo(0)); } @Test void testAvailable_ok() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
closed = true currentPart = null source.close() } /** A single part in a multipart body. */ class Part( @get:JvmName("headers") val headers: Headers, @get:JvmName("body") val body: BufferedSource, ) : Closeable by body internal companion object { /** These options follow the boundary. */ val afterBoundaryOptions = Options.of(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
@Throws(IOException::class) fun non101RetainsBody() { webServer.enqueue( MockResponse .Builder() .code(200) .body("Body") .build(), ) newWebSocket() clientListener.assertFailure( 200, "Body", ProtocolException::class.java, "Expected HTTP 101 response but was '200 OK'", ) } @Test @Throws(IOException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
val request by lazy { Request(server.url("/")) } @Test fun suspendCall() { runTest { server.enqueue(MockResponse(body = "abc")) val call = client.newCall(request) call.executeAsync().use { withContext(Dispatchers.IO) { assertThat(it.body.string()).isEqualTo("abc") } } } } @Test fun timeoutCall() { runTest { server.enqueue(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
.setHeader("content-type", "text/event-stream") .body("data: hey\n\n") .build(), ) newEventSource() listener.assertFailure("timeout") } @Test fun retainsAccept() { server.enqueue( MockResponse .Builder() .body( """ |data: hey | | """.trimMargin(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
if (!response.promisesBody()) { return response } val body = response.body val encoding = response.header("Content-Encoding") ?: return response val algorithm = lookupDecompressor(encoding) ?: return response val decompressedSource = algorithm.decompress(body.source()).buffer() return response .newBuilder() .removeHeader("Content-Encoding")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/sereq/admin_sereq.jsp
<head> <meta charset="UTF-8"> <title><la:message key="labels.admin_brand_title" /> | <la:message key="labels.sereq_configuration" /></title> <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Nov 07 06:19:20 UTC 2024 - 2.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
assertFailsWith<IOException> { response.body.source().readUtf8() }.also { expected -> assertThat(expected.message).isEqualTo("timeout") assertThat(call.isCanceled()).isTrue() } } @Test fun timeoutReadingResponseWithEnqueue() { server.enqueue( MockResponse .Builder() .body(BIG_ENOUGH_BODY) .build(), ) val request =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
RtmStartResponse rtmStartResponse = slackApi.rtmStart(accessToken); webSocket = slackApi.rtm(rtmStartResponse.url, this); } // TODO(jwilson): can I read the response body? Do I have to? // the body from slack is a 0-byte-buffer @Override public synchronized void onOpen(WebSocket webSocket, Response response) { System.out.println("onOpen: " + response); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Nov 19 20:16:58 UTC 2016 - 2.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt
).protocol(Protocol.HTTP_1_1) .code(200) .message("OK") .build() assertThat(response.body.contentType()).isNull() assertThat(response.body.contentLength()).isEqualTo(0L) assertThat(response.body.byteString()).isEqualTo(EMPTY) } /** * Returns a new response body that refuses to be read once it has been closed. This is true of * most [BufferedSource] instances, but not of [Buffer]. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0)