- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for emptyMap (0.17 sec)
-
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
} override fun loadForRequest(url: HttpUrl): List<Cookie> { val cookieHeaders = try { // The RI passes all headers. We don't have 'em, so we don't pass 'em! cookieHandler.get(url.toUri(), emptyMap<String, List<String>>()) } catch (e: IOException) { Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e) return emptyList() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:10:43 GMT 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt
assertThat(challenges.size).isEqualTo(1) 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()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
val commaPrefixed = skipCommasAndWhitespace() peek = readToken() if (peek == null) { if (!exhausted()) return // Expected a token; got something else. result.add(Challenge(schemeName, emptyMap())) return } var eqCount = skipAll('='.code.toByte()) val commaSuffixed = skipCommasAndWhitespace() // It's a token68 because there isn't a value after it.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp-android/src/main/baseline-prof.txt
HSPLkotlin/collections/EmptyList;-><init>()V HSPLkotlin/collections/EmptyList;->isEmpty()Z HSPLkotlin/collections/EmptyList;->iterator()Ljava/util/Iterator; HSPLkotlin/collections/EmptyMap;-><clinit>()V HSPLkotlin/collections/EmptyMap;-><init>()V HSPLkotlin/collections/EmptyMap;->isEmpty()Z HSPLkotlin/collections/EmptySet;-><clinit>()V HSPLkotlin/collections/EmptySet;-><init>()V HSPLkotlin/collections/EmptySet;->equals(Ljava/lang/Object;)Z
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Mar 21 11:22:00 GMT 2022 - 127.9K bytes - Viewed (0)