Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Kissling (0.25 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        private fun computeCandidate(): CacheStrategy {
          // No cached response.
          if (cacheResponse == null) {
            return CacheStrategy(request, null)
          }
    
          // Drop the cached response if it's missing a required handshake.
          if (request.isHttps && cacheResponse.handshake == null) {
            return CacheStrategy(request, null)
          }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * that [get] was called. Updates and removals after the call do not impact ongoing reads.
     *
     * This class is tolerant of some I/O errors. If files are missing from the filesystem, the
     * corresponding entries will be dropped from the cache. If an error occurs while writing a cache
     * value, the edit will fail silently. Callers should handle other problems by catching
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

        )
        assertThat(okHttpCertificate.tbsCertificate.validity).isEqualTo(Validity(-1000L, 2000L))
        assertThat(okHttpCertificate.tbsCertificate.serialNumber).isEqualTo(BigInteger("17"))
      }
    
      @Test
      fun `missing subject alternative names`() {
        val certificate =
          HeldCertificate.Builder()
            .certificateAuthority(3)
            .commonName("Jurassic Park")
            .organizationalUnit("Gene Research")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
  4. docs/recipes.md

    OkHttp can automatically retry unauthenticated requests. When a response is `401 Not Authorized`, an `Authenticator` is asked to supply credentials. Implementations should build a new request that includes the missing credentials. If no credentials are available, return null to skip the retry.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            "Expected 'Sec-WebSocket-Accept' header value '$acceptExpected' but was '$headerAccept'",
          )
        }
    
        if (exchange == null) {
          throw ProtocolException("Web Socket exchange missing: bad interceptor?")
        }
      }
    
      fun initReaderAndWriter(
        name: String,
        streams: Streams,
      ) {
        val extensions = this.extensions!!
        synchronized(this) {
          this.name = name
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top