- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for unavailable (0.18 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
val inputStream = response.body.byteStream() for (i in 0 until body.length) { assertThat(inputStream.available()).isGreaterThanOrEqualTo(0) assertThat(inputStream.read()).isEqualTo(body[i].code) } assertThat(inputStream.available()).isEqualTo(0) assertThat(inputStream.read()).isEqualTo(-1) } @Test fun postFailsWithBufferedRequestForSmallRequest() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
MockResponse.Builder() .body("a") .build(), ) val url = server.url("/a") assertThat(get(url).body.string()).isEqualTo("a") // The URL will remain available if hasNext() returned true... val i = cache.urls() assertThat(i.hasNext()).isTrue() // ...so even when we evict the element, we still get something back. cache.evictAll()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
vi.us vt.us va.us wa.us wi.us wv.us wy.us // The registrar notes several more specific domains available in each state, // such as state.*.us, dst.*.us, etc., but resolution of these is somewhat // haphazard; in some states these domains resolve as addresses, while in others // only subdomains are available, or even nothing at all. We include the // most common ones where it's clear that different sites are different
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 240.3K bytes - Viewed (3)