Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for defaultExpirationDateConditionallyCached (0.15 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        val response2 = get(url)
        assertThat(response2.body.string()).isEqualTo("A")
        assertThat(response2.header("Warning")).isNull()
      }
    
      @Test
      fun defaultExpirationDateConditionallyCached() {
        //      last modified: 115 seconds ago
        //             served:  15 seconds ago
        //   default lifetime: (115 - 15) / 10 = 10 seconds
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top