- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for cyan (0.46 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
val client = client.newBuilder() .retryOnConnectionFailure(false) .build() // Seed the connection pool so we have something that can fail. val request1 = Request.Builder().url(server.url("/")).build() val response1 = client.newCall(request1).execute() assertThat(response1.body.string()).isEqualTo("abc") listener.clearAllEvents()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
*/ @Test fun responseCachingByResponseCode() { // Test each documented HTTP/1.1 code, plus the first unused value in each range. // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html // We can't test 100 because it's not really a response. // assertCached(false, 100); assertCached(false, 101) assertCached(true, 200) assertCached(false, 201) assertCached(false, 202)
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)