Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for proxyAuthenticateOnConnectWithConnectionClose (0.28 sec)

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

      /**
       * OkHttp has a bug where a `Connection: close` response header is not honored when establishing a
       * TLS tunnel. https://github.com/square/okhttp/issues/2426
       */
      @Test
      fun proxyAuthenticateOnConnectWithConnectionClose() {
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.protocols = listOf<Protocol>(Protocol.HTTP_1_1)
        server.enqueue(
          MockResponse(
            code = 407,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top