- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for composeWithAddSegment (0.41 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
assertThat(url.encodedPathSegments) .containsExactly("a%2fb", "c", "d%2525e", "f%25g") assertThat(url.pathSegments).containsExactly("a/b", "c", "d%25e", "f%g") } @Test fun composeWithAddSegment() { val base = parse("http://host/a/b/c") assertThat( base .newBuilder() .addPathSegment("") .build() .encodedPath, ).isEqualTo("/a/b/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)