- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for setPathSegmentRejectsDot (0.26 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
assertThat( base .newBuilder() .setPathSegment(2, "") .build() .encodedPath, ).isEqualTo("/a/b/") } @Test fun setPathSegmentRejectsDot() { val base = parse("http://host/a/b/c") assertFailsWith<IllegalArgumentException> { base.newBuilder().setPathSegment(0, ".") } } @Test
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)