Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
Back to top