Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Days (2.84 sec)

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

        assertFailsWith<IOException> {
          getResponse(newRequest("/foo"))
        }.also { expected ->
          when (expected) {
            is SSLHandshakeException -> {
              // Allow conscrypt to fail in different ways
              if (!platform.isConscrypt()) {
                assertThat(expected.cause!!).isInstanceOf<CertificateException>()
              }
            }
            is TlsFatalAlert -> {}
            else -> throw expected
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        //      last modified: 105 days ago
        //             served:   5 days ago
        //   default lifetime: (105 - 5) / 10 = 10 days
        //            expires:  10 days from served date = 5 days from now
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Last-Modified: " + formatDate(-105, TimeUnit.DAYS))
            .addHeader("Date: " + formatDate(-5, TimeUnit.DAYS))
            .body("A")
            .build(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertBody("A")
        val request1ReceivedAt = System.currentTimeMillis()
        assertThat(server.takeRequest().headers["If-None-Match"]).isNull()
    
        // Hit that stored response. It's different, but Vary says it doesn't matter.
        Thread.sleep(10) // Make sure the timestamps are unique.
        val cacheHit =
          executeSynchronously(
            "/",
            "Accept-Language",
            "en-US",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    km
    org.km
    nom.km
    gov.km
    prd.km
    tm.km
    edu.km
    mil.km
    ass.km
    com.km
    // These are only mentioned as proposed suggestions at domaine.km, but
    // https://en.wikipedia.org/wiki/.km says they're available for registration:
    coop.km
    asso.km
    presse.km
    medecin.km
    notaires.km
    pharmaciens.km
    veterinaire.km
    gouv.km
    
    // kn : https://en.wikipedia.org/wiki/.kn
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top