Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for maxAgeInThePastWithDateHeaderButNoLastModifiedHeader (0.41 seconds)

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

              .build(),
          )
        assertThat(conditionalRequest.headers["If-Modified-Since"])
          .isEqualTo(lastModifiedDate)
      }
    
      @Test
      fun maxAgeInThePastWithDateHeaderButNoLastModifiedHeader() {
        // Chrome interprets max-age relative to the local clock. Both our cache
        // and Firefox both use the earlier of the local and server's clock.
        assertNotCached(
          MockResponse
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 116.8K bytes
    - Click Count (0)
Back to Top