Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setPathSegmentEncodes (0.27 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(
          base
            .newBuilder()
            .setPathSegment(2, "d")
            .build()
            .encodedPath,
        ).isEqualTo("/a/b/d")
      }
    
      @Test
      fun setPathSegmentEncodes() {
        val base = parse("http://host/a/b/c")
        assertThat(
          base
            .newBuilder()
            .setPathSegment(0, "%25")
            .build()
            .encodedPath,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
Back to top