Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for firefox (0.2 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

          .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.Builder()
            .addHeader("Date: " + formatDate(-120, TimeUnit.SECONDS))
            .addHeader("Cache-Control: max-age=60")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top