Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Fri (0.16 sec)

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

            .build()
        val urlWithIpAddress = urlWithIpAddress(server, "/path/foo")
        server.enqueue(
          MockResponse.Builder()
            .addHeader(
              "Set-Cookie: a=android; " +
                "expires=Fri, 31-Dec-9999 23:59:59 GMT; " +
                "path=/path; " +
                "domain=${urlWithIpAddress.host}; " +
                "secure",
            )
            .build(),
        )
        get(urlWithIpAddress)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CookieTest.kt

          Cookie.Builder()
            .name("a")
            .value("b")
            .hostOnlyDomain("example.com")
            .expiresAt(Long.MAX_VALUE)
            .build()
        assertThat(cookie.toString()).isEqualTo("a=b; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/")
      }
    
      @Test fun builderExpiresAt() {
        val cookie =
          Cookie.Builder()
            .name("a")
            .value("b")
            .hostOnlyDomain("example.com")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
Back to top