Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for corruptedUrl (0.04 seconds)

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

        assertThat(cache.requestCount()).isEqualTo(2)
        assertThat(cache.networkCount()).isEqualTo(2)
        assertThat(cache.hitCount()).isEqualTo(0)
      }
    
      @Test fun corruptedUrl() {
        val response =
          testCorruptingCache {
            corruptMetadata {
              // strip https scheme
              it.substring(5)
            }
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top