Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for cachePlusCookies (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            .header("Accept-Language", "en-US")
            .build()
        val response2 = client.newCall(request2).execute()
        assertThat(response2.body.string()).isEqualTo("A")
      }
    
      @Test
      fun cachePlusCookies() {
        val cookieJar = RecordingCookieJar()
        client =
          client
            .newBuilder()
            .cookieJar(cookieJar)
            .build()
        server.enqueue(
          MockResponse
    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