Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for decodeEmptyPathSegments (0.07 sec)

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

      }
    
      @Test
      fun decodeSlashCharacterInDecodedPathSegment() {
        assertThat(parse("http://host/a%2Fb%2Fc").pathSegments).containsExactly("a/b/c")
      }
    
      @Test
      fun decodeEmptyPathSegments() {
        assertThat(parse("http://host/").pathSegments).containsExactly("")
      }
    
      @Test
      fun percentDecode() {
        assertThat(parse("http://host/%00").pathSegments).containsExactly("\u0000")
    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