Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        // Cause the cache trim job to fail.
        filesystem.setFaultyDelete(cacheDir / "a.0", true)
        taskFaker.runNextTask()
    
        // Confirm we still allow snapshot reads after a trim failure.
        assertValue("a", "aa", "aa")
        assertValue("b", "bb", "bbb")
    
        // Allow the test to clean up.
        filesystem.setFaultyDelete(cacheDir / "a.0", false)
      }
    
      @ParameterizedTest
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

          }
    
          else -> return null
        }
      }
    
      private fun buildRedirectRequest(
        userResponse: Response,
        method: String,
      ): Request? {
        // Does the client allow redirects?
        if (!client.followRedirects) return null
    
        val location = userResponse.header("Location") ?: return null
        // Don't follow redirects to unsupported protocols.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
Back to top