Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for basicChallenge (0.87 seconds)

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

        assertThat(challenges[0].scheme).isEqualTo("Digest")
        assertThat(challenges[0].realm).isNull()
        assertThat(challenges[0].authParams).isEqualTo(emptyMap<Any, Any>())
      }
    
      @Test fun basicChallenge() {
        val headers =
          Headers
            .Builder()
            .add("WWW-Authenticate: Basic realm=\"protected area\"")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 16.8K bytes
    - Click Count (0)
Back to Top