- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for domainMatchesIpv6Address (0.14 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
assertThat(parse(urlWithIp, "a=b; domain=234.56")).isNull() assertThat(parse(urlWithIp, "a=b; domain=123.45.234.56")!!.domain).isEqualTo("123.45.234.56") } @Test fun domainMatchesIpv6Address() { val cookie = parse("http://[::1]/".toHttpUrl(), "a=b; domain=::1") assertThat(cookie!!.domain).isEqualTo("::1") assertThat(cookie.matches("http://[::1]/".toHttpUrl())).isTrue() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 24.4K bytes - Click Count (0)