Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for noPreemptiveProxyAuthorization (0.38 sec)

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

       * We used to have that behavior but it is problematic because unrelated requests end up sharing
       * credentials. Worse, that approach leaks proxy credentials to the origin server.
       */
      @Test
      fun noPreemptiveProxyAuthorization() {
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.enqueue(MockResponse(inTunnel = true))
        server.enqueue(MockResponse(body = "response body"))
        client =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top