Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initResponseCache (0.17 sec)

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

        )
      }
    
      /** Tolerate bad https proxy response when using HttpResponseCache. Android bug 6754912.  */
      @Test
      fun connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache() {
        initResponseCache()
        server.useHttps(handshakeCertificates.sslSocketFactory())
        // The inclusion of a body in the response to a CONNECT is key to reproducing b/6754912.
        server.enqueue(
          MockResponse(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top