- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for composeWithAddSegment (0.07 seconds)
-
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/")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Aug 04 07:38:48 GMT 2025 - 69.9K bytes - Click Count (0)