Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseCacheControlHeaderValueIsRetained (0.26 sec)

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

        val cacheControl = parse(headers)
        assertThat(cacheControl.toString()).isEqualTo("max-age=12, public, must-revalidate")
      }
    
      @Test
      fun parseCacheControlHeaderValueIsRetained() {
        val value = "max-age=12"
        val headers = headersOf("Cache-Control", value)
        val cacheControl = parse(headers)
        assertThat(cacheControl.toString()).isSameAs(value)
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top