Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for proxyAuthenticateOnConnect (0.07 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(request.headers[":authority"]).isEqualTo("android.com")
      }
    
      /** Respond to a proxy authorization challenge.  */
      @Test
      fun proxyAuthenticateOnConnect() {
        server.enqueue(
          MockResponse
            .Builder()
            .code(407)
            .headers(headersOf("Proxy-Authenticate", "Basic realm=\"localhost\""))
            .inTunnel()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        }.also { expected ->
          assertThat(expected).hasMessage("unexpected end of stream")
        }
      }
    
      /** Respond to a proxy authorization challenge.  */
      @Test
      fun proxyAuthenticateOnConnect() {
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.enqueue(
          MockResponse
            .Builder()
            .code(407)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
Back to top