Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for maxAgeOrExpiresMakesCookiePersistent (0.32 sec)

  1. okhttp/src/test/java/okhttp3/CookieTest.kt

              "Expires=Thu, 01 Jan 1970 00:00:01 GMT; " +
              "Expires=Thu, 01 Jan 1970 00:00:03 GMT",
          )!!.expiresAt,
        ).isEqualTo(3000L)
      }
    
      @Test fun maxAgeOrExpiresMakesCookiePersistent() {
        assertThat(parseCookie(0L, url, "a=b")!!.persistent).isFalse()
        assertThat(parseCookie(0L, url, "a=b; Max-Age=1")!!.persistent).isTrue()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top