- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for if (0.29 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
platform.assumeNotConscrypt() val tlsFallbackScsv = "TLS_FALLBACK_SCSV" val supportedCiphers = listOf(*handshakeCertificates.sslSocketFactory().supportedCipherSuites) if (!supportedCiphers.contains(tlsFallbackScsv)) { // This only works if the client socket supports TLS_FALLBACK_SCSV. return } server.useHttps(handshakeCertificates.sslSocketFactory())
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) -
okhttp/src/test/java/okhttp3/CacheTest.kt
MockResponse.Builder() .addHeader("ETag: v1") .build(), ) assertThat(conditionalRequest.headers["If-None-Match"]).isEqualTo("v1") } /** If both If-Modified-Since and If-None-Match conditions apply, send only If-None-Match. */ @Test fun etagAndExpirationDateInThePast() { val lastModifiedDate = formatDate(-2, TimeUnit.HOURS) val conditionalRequest =
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)