Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rawEncodingRetained (0.26 sec)

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

      }
    
      /**
       * Although HttpUrl prefers percent-encodings in uppercase, it should preserve the exact structure
       * of the original encoding.
       */
      @Test
      fun rawEncodingRetained() {
        val urlString = "http://%6d%6D:%6d%6D@host/%6d%6D?%6d%6D#%6d%6D"
        val url = parse(urlString)
        assertThat(url.encodedUsername).isEqualTo("%6d%6D")
        assertThat(url.encodedPassword).isEqualTo("%6d%6D")
    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