Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for updateTimestamp (0.07 seconds)

  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"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
Back to Top