- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 154 for unsuccessful (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.connection /** * Used when we were unsuccessful in the planning phase of a connection: * * * A DNS lookup failed * * The configuration is incapable of carrying the request, such as when the client is configured
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
} } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response // 5. unsuccessful response @Test fun usesCache() { val cache = Cache(cacheFs, "cache".toPath(), (100 * 1024).toLong())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
serverIpv4.close() serverIpv6.close() val call = client.newCall(Request(url)) assertFailsWith<IOException> { call.execute() } // In the process we made two unsuccessful connection attempts. assertThat(listener.recordedEventTypes().filter { it == "ConnectStart" }).hasSize(2) assertThat(listener.recordedEventTypes().filter { it == "ConnectFailed" }).hasSize(2) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.4K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
* Fix: Correctly canonicalize IPv6 addresses in `HttpUrl`. This prevented OkHttp from trusting HTTPS certificates issued to certain IPv6 addresses. * Fix: Don't reuse connections after an unsuccessful `Expect: 100-continue`. * Fix: Handle either `TLS_` or `SSL_` prefixes for cipher suite names. This is necessary for IBM JVMs that use the `SSL_` prefix exclusively.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.4.md
* Replace controller presence checking logic ([#36924](https://github.com/kubernetes/kubernetes/pull/36924), [@krousey](https://github.com/krousey)) * Fix a bug in scheduler happening after retrying unsuccessful bindings ([#37293](https://github.com/kubernetes/kubernetes/pull/37293), [@wojtek-t](https://github.com/wojtek-t))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 133.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
) fun code(): Int = code /** * Returns true if the code is in [200..300), which means the request was successfully received, * understood, and accepted. */ val isSuccessful: Boolean = code in 200..299 @JvmName("-deprecated_message") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "message"), level = DeprecationLevel.ERROR, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
docs/recipes.md
val request = Request.Builder() .url("https://publicobject.com/helloworld.txt") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") for ((name, value) in response.headers) { println("$name: $value") } println(response.body!!.string()) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
RangeQueryBuilder rangeQuery = (RangeQueryBuilder) deleteQuery; assertEquals("expires", rangeQuery.fieldName()); assertEquals("now", rangeQuery.to()); // Assert result is empty when successful assertEquals("", result); } public void test_execute_withException() { // Create mock SearchEngineClient that throws exception searchEngineClient = new SearchEngineClient() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/config/openapi/openapi-user.yaml
in: query description: Callback name for using JSONP required: false schema: type: string responses: '200': description: Successful operation content: application/json: schema: type: object properties: q: type: string
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu May 09 06:31:27 UTC 2024 - 21.6K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
.url("/") .newBuilder() .host("localhost.localdomain") .build() val call = client.newCall(Request(url = url)) val response = call.execute() assertThat(response.isSuccessful).isTrue() val recordedRequest = server.takeRequest() // https://github.com/bcgit/bc-java/issues/1773 if (!platform.isBouncyCastle()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6.3K bytes - Viewed (0)