Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 504 (0.01 sec)

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

        assertCached(false, 417)
        assertCached(false, 418)
        assertCached(false, 500)
        assertCached(true, 501)
        assertCached(false, 502)
        assertCached(false, 503)
        assertCached(false, 504)
        assertCached(false, 505)
        assertCached(false, 506)
      }
    
      @Test
      fun responseCachingWith1xxInformationalResponse() {
        assertSubsequentResponseCached(102, 200)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      @Test
      fun onlyIfCachedReturns504WhenNotCached() {
        executeSynchronously("/", "Cache-Control", "only-if-cached")
          .assertCode(504)
          .assertBody("")
          .assertNoNetworkResponse()
          .assertNoCacheResponse()
      }
    
      @Test
      fun networkDropsOnConditionalGet() {
        client =
          client.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top