- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for percentDecode (0.06 sec)
-
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/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)