- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for could (2.45 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
assertContent("This connection won't pool properly", response1) assertThat(server.takeRequest().sequenceNumber).isEqualTo(0) // Give the server time to enact the socket policy if it's one that could happen after the // client has received the response. Thread.sleep(500) val response2 = getResponse(newRequest("/b")) response1.body.source().timeout().timeout(100, TimeUnit.MILLISECONDS)
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/CallTest.kt
executeSynchronously(request).assertFailure("$dns returned no addresses for android.com") dns.assertRequests("android.com") } /** We had a bug where failed HTTP/2 calls could break the entire connection. */ @Flaky @Test fun failingCallsDoNotInterfereWithConnection() { enableProtocol(Protocol.HTTP_2) server.enqueue(MockResponse(body = "Response 1"))
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
testRequestMethod("GET", true) } @Test fun requestMethodHeadIsNotCached() { // We could support this but choose not to for implementation simplicity testRequestMethod("HEAD", false) } @Test fun requestMethodPostIsNotCached() { // We could support this but choose not to for implementation simplicity testRequestMethod("POST", false) } @Test
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)