Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toUriPathSpecialCharacters (0.14 sec)

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

        assertThat(url.toUri().toString())
          .isEqualTo("http://user:%3D%5B%5D%3A%3B%22~%7C%3F%23%40%5E%2F$%25*@host/")
      }
    
      @Test
      fun toUriPathSpecialCharacters() {
        val url =
          HttpUrl
            .Builder()
            .scheme("http")
            .host("host")
            .addPathSegment("=[]:;\"~|?#@^/$%*")
            .build()
        assertThat(url.toString())
    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