Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        // Including the Square braces themselves! (This is what Chrome does.)
        assertThat(parse("http://%5B%3A%3A1%5D/").host).isEqualTo("::1")
      }
    
      @Test
      fun hostIpv6AddressDifferentFormats() {
        // Multiple representations of the same address; see http://tools.ietf.org/html/rfc5952.
        val a3 = "2001:db8::1:0:0:1"
        assertThat(parse("http://[2001:db8:0:0:1:0:0:1]").host).isEqualTo(a3)
    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