- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setPathSegmentRejectsDot (0.31 sec)
-
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
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0)