- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for maxAgeTakesPrecedenceOverExpires (0.12 sec)
-
okhttp/src/test/java/okhttp3/CookieTest.kt
} @Test fun secure() { assertThat(parse(url, "a=b")!!.secure).isFalse() assertThat(parse(url, "a=b; Secure")!!.secure).isTrue() } @Test fun maxAgeTakesPrecedenceOverExpires() { // Max-Age = 1, Expires = 2. In either order. assertThat(parseCookie(0L, url, "a=b; Max-Age=1; Expires=Thu, 01 Jan 1970 00:00:02 GMT")!!.expiresAt) .isEqualTo(1000L)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0)