- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 1,562 for Responses (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java
try (CurlResponse response = ComponentUtil.getCurlHelper() // .put("/" + getIndexName() + "/_doc/" + instanceId + "?refresh=true") // .body(body) .execute()) { if (response.getHttpStatusCode() != 200 && response.getHttpStatusCode() != 201) { logger.warn("Failed to send heartbeat: status={}", response.getHttpStatusCode()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 33.3K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt
val call = client.newCall(networkRequest) call.execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.cacheResponse).isNull() } val cachedCall = client.newCall(request) cachedCall.execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.cacheResponse).isNotNull() } } @TestCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 22 20:03:31 GMT 2025 - 2.3K bytes - Click Count (0) -
docs_src/app_testing/tutorial001_py310.py
app = FastAPI() @app.get("/") async def read_main(): return {"msg": "Hello World"} client = TestClient(app) def test_read_main(): response = client.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 - 334 bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
byte[] response = NtlmPasswordAuthentication.getPreNTLMResponse("password", challenge); assertNotNull(response); assertEquals(24, response.length); } // Test getNTLMResponse @Test void testGetNTLMResponse() { byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 }; byte[] response = NtlmPasswordAuthentication.getNTLMResponse("password", challenge);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
} @Throws(IOException::class) fun openResponseBody(response: Response): ResponseBody { try { val contentType = response.header("Content-Type") val contentLength = codec.reportedContentLength(response) val rawSource = codec.openResponseBodySource(response) val source = ResponseBodySource( delegate = rawSource, contentLength = contentLength,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 10.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
// Arrange int offset = 0; int length = testData.length; // Act signingDigest.sign(testData, offset, length, request, response); // Assert verify(signingDigest, times(1)).sign(testData, offset, length, request, response); } @Test @DisplayName("Test sign method with different offsets") void testSignWithDifferentOffsets() { // ArrangeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/SsoAuthenticator.java
*/ void resolveCredential(LoginCredentialResolver resolver); /** * Gets the action response for the specified SSO response type. * @param responseType The type of SSO response required. * @return The action response. */ ActionResponse getResponse(SsoResponseType responseType); /** * Performs logout for the specified user.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.2K bytes - Click Count (1) -
samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 02 14:04:37 GMT 2023 - 2.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/Progress.java
.addNetworkInterceptor(chain -> { Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); }) .build(); try (Response response = client.newCall(request).execute()) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 3.9K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
val request = SimpleHttpRequests.get("https://google.com/robots.txt") val response = client.execute(request, LoggingCallback).get() println("Protocol ${response.version}") println("Response ${response.code}") println("${response.body.bodyText.substring(0, 20)}...") Assert.assertEquals(ProtocolVersion("HTTP", 2, 0), response.version) } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 2.6K bytes - Click Count (0)