- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Don (0.23 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
import kotlin.test.assertFailsWith import kotlin.test.fail import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.UrlComponentEncodingTester.Encoding import okhttp3.testing.PlatformVersion @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://. open class HttpUrlTest { protected open fun parse(url: String): HttpUrl { return url.toHttpUrl() } protected open fun assertInvalid( string: String,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
``` * Fix: Don't miss cancels when sending HTTP/2 request headers. * Fix: Don't miss whole operation timeouts when calls redirect. * Fix: Don't leak connections if web sockets have malformed responses or if `onOpen()` throws. * Fix: Don't retry when request bodies fail due to `FileNotFoundException`. * Fix: Don't crash when URLs have IPv4-mapped IPv6 addresses.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
// Confirm that the connection was reused. assertThat(server.takeRequest().sequenceNumber).isEqualTo(0) assertThat(server.takeRequest().sequenceNumber).isEqualTo(1) } /** * Test to ensure we don't throw a read timeout on responses that are progressing. For this * case, we take a 4KiB body and throttle it to 1KiB/second. We set the read timeout to two
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* connections. * * ## Why another URL model? * * Java includes both [java.net.URL][URL] and [java.net.URI][URI]. We offer a new URL * model to address problems that the others don't. * * ### Different URLs should be different * * Although they have different content, `java.net.URL` considers the following two URLs * equal, and the [equals()][Object.equals] method between them returns true:
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
set("b", "b", "b") } // Cause the rebuild action to fail. filesystem.setFaultyRename(cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP, true) taskFaker.runNextTask() // Don't allow edits under any circumstances. assertThat(cache.edit("a")).isNull() assertThat(cache.edit("c")).isNull() cache["a"]!!.use { assertThat(it.edit()).isNull() } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0)