- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for percentDecode (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
fun size(): Int = size fun encodedName(index: Int): String = encodedNames[index] fun name(index: Int): String = encodedName(index).percentDecode(plusIsSpace = true) fun encodedValue(index: Int): String = encodedValues[index] fun value(index: Int): String = encodedValue(index).percentDecode(plusIsSpace = true) override fun contentType(): MediaType = CONTENT_TYPE
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
) } fun build(): HttpUrl { @Suppress("UNCHECKED_CAST") // percentDecode returns either List<String?> or List<String>. return HttpUrl( scheme = scheme ?: throw IllegalStateException("scheme == null"), username = encodedUsername.percentDecode(), password = encodedPassword.percentDecode(), host = host ?: throw IllegalStateException("host == null"),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt
limit = limit, encodeSet = encodeSet, alreadyEncoded = alreadyEncoded, strict = strict, plusIsSpace = plusIsSpace, unicodeAllowed = unicodeAllowed, ) internal fun String.percentDecode( pos: Int = 0, limit: Int = length, plusIsSpace: Boolean = false, ): String { for (i in pos until limit) { val c = this[i] if (c == '%' || c == '+' && plusIsSpace) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
} @Test fun decodeEmptyPathSegments() { assertThat(parse("http://host/").pathSegments).containsExactly("") } @Test fun percentDecode() { assertThat(parse("http://host/%00").pathSegments).containsExactly("\u0000") assertThat(parse("http://host/a/%E2%98%83/c").pathSegments) .containsExactly("a", "\u2603", "c")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/HttpUrl$Companion;->defaultPort(Ljava/lang/String;)I HSPLokhttp3/HttpUrl$Companion;->percentDecode$okhttp$default(Lokhttp3/HttpUrl$Companion;Ljava/lang/String;IIZI)Ljava/lang/String; HSPLokhttp3/HttpUrl;-><clinit>()V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (0)