- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for percentDecode (0.08 seconds)
-
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"),Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 63.5K bytes - Click Count (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")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Aug 04 07:38:48 GMT 2025 - 69.9K bytes - Click Count (0)