Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateTimestamp (0.08 sec)

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

        assertThat(response2.body.string()).isEqualTo("A")
        assertThat(response2.header("Allow")).isEqualTo("GET, HEAD")
        val updatedTimestamp = response2.receivedResponseAtMillis
        assertThat((updatedTimestamp - t1).toDouble()).isCloseTo(0.0, 250.0)
    
        // A full cache hit reads the cache.
        Thread.sleep(10)
        val response3 = get(server.url("/a"))
    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