- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for domainMatchesIpAddress (0.13 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
assertThat(cookie.matches("http://www.☃.net/".toHttpUrl())).isTrue() assertThat(cookie.matches("http://www.xn--n3h.net/".toHttpUrl())).isTrue() } @Test fun domainMatchesIpAddress() { val urlWithIp = "http://123.45.234.56/".toHttpUrl() 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")
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)