- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for conditionalCache (0.08 sec)
-
okhttp/src/test/java/okhttp3/EventListenerTest.kt
"RequestHeadersEnd", "ResponseHeadersStart", "ResponseHeadersEnd", "ResponseBodyStart", "ResponseBodyEnd", "ConnectionReleased", "CallEnd", ) } @Test fun conditionalCache() { enableCache() server.enqueue( MockResponse.Builder() .addHeader("ETag", "v1") .body("abc") .build(), ) server.enqueue(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(cache.networkCount()).isEqualTo(1) assertThat(cache.hitCount()).isEqualTo(2) } @ParameterizedTest @ArgumentsSource(ProtocolParamProvider::class) fun conditionalCache( protocol: Protocol, mockWebServer: MockWebServer, ) { setUp(protocol, mockWebServer) client = client.newBuilder() .cache(cache) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0)