- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for requestMaxStale (0.24 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
.header("Cache-Control", "min-fresh=120") .build() val response = client.newCall(request).execute() assertThat(response.body.string()).isEqualTo("B") } @Test fun requestMaxStale() { server.enqueue( MockResponse.Builder() .body("A") .addHeader("Cache-Control: max-age=120") .addHeader("Date: " + formatDate(-4, TimeUnit.MINUTES)) .build(),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0)