- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for takeRequest (0.14 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
executeSynchronously("/b").assertBody("def") executeSynchronously("/c").assertBody("ghi") assertThat(server.takeRequest().sequenceNumber).isEqualTo(0) assertThat(server.takeRequest().sequenceNumber).isEqualTo(1) assertThat(server.takeRequest().sequenceNumber).isEqualTo(2) } /** * Each OkHttpClient used to get its own instance of NullProxySelector, and because these weren't
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
assertThat(get(url).body.string()).isEqualTo("B") assertThat(server.takeRequest().headers["If-None-Match"]).isNull() assertThat(server.takeRequest().headers["If-None-Match"]).isEqualTo("v1") assertThat(server.takeRequest().headers["If-None-Match"]).isEqualTo("v1") assertThat(server.takeRequest().headers["If-None-Match"]).isEqualTo("v2") } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
val server2Host = server2.hostName + ":" + server2.port assertThat(server.takeRequest().headers["Host"]).isEqualTo(server1Host) assertThat(server2.takeRequest().headers["Host"]).isEqualTo(server2Host) assertThat(server.takeRequest().sequenceNumber, "Expected connection reuse") .isEqualTo(1) assertThat(server2.takeRequest().sequenceNumber, "Expected connection reuse") .isEqualTo(1) } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0)