Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for duplexWithAuthChallenge (0.24 sec)

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

        }
      }
    
      /**
       * Auth requires follow-ups. Unlike redirects, the auth follow-up also has a request body. This
       * test makes a single call with two duplex requests!
       */
      @Test
      fun duplexWithAuthChallenge() {
        enableProtocol(Protocol.HTTP_2)
        val credential = basic("jesse", "secret")
        client =
          client
            .newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top