Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toUriWithTruncatedPercentEscape (0.09 sec)

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

      }
    
      @Test
      fun toUriWithNonHexPercentEscape() {
        assertThat("http://host/%xx".toHttpUrl().toUri()).isEqualTo(URI("http://host/%25xx"))
      }
    
      @Test
      fun toUriWithTruncatedPercentEscape() {
        assertThat("http://host/%a".toHttpUrl().toUri()).isEqualTo(URI("http://host/%25a"))
        assertThat("http://host/%".toHttpUrl().toUri()).isEqualTo(URI("http://host/%25"))
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top