- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for parseChallenges (0.06 sec)
-
okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 16.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
import okhttp3.ResponseBody.Companion.asResponseBody import okhttp3.internal.connection.Exchange import okhttp3.internal.http.HTTP_PERM_REDIRECT import okhttp3.internal.http.HTTP_TEMP_REDIRECT import okhttp3.internal.http.parseChallenges import okio.Buffer import okio.Socket /** * An HTTP response. Instances of this class are not immutable: the response body is a one-shot
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0)