Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parseChallenges (0.06 sec)

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

        assertThat(headers.parseChallenges("WWW-Authenticate"))
          .isEqualTo(listOf(Challenge("Basic", expectedAuthParams)))
      }
    
      @Test fun separatorsBeforeFirstChallenge() {
        val headers =
          Headers.Builder()
            .add("WWW-Authenticate", " ,  , Basic realm=myrealm")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Response.kt

    import okhttp3.internal.commonRequest
    import okhttp3.internal.commonToString
    import okhttp3.internal.commonTrailers
    import okhttp3.internal.connection.Exchange
    import okhttp3.internal.http.parseChallenges
    import okio.Buffer
    
    /**
     * An HTTP response. Instances of this class are not immutable: the response body is a one-shot
     * value that may be consumed only once and then closed. All other properties are immutable.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top