Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for leaving (0.2 sec)

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

        setUp(parameters.first, parameters.second)
        cache.maxSize = 8
        taskFaker.runNextTask()
        set("a", "aa", "aa")
        set("b", "bb", "bbb")
    
        // Cause the cache trim to fail on the second value leaving a partial snapshot.
        filesystem.setFaultyDelete(cacheDir / "a.1", true)
        taskFaker.runNextTask()
    
        // Confirm the partial snapshot is not returned.
        assertThat(cache["a"]).isNull()
    
    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/Call.kt

      /** Returns the original request that initiated this call. */
      fun request(): Request
    
      /**
       * Invokes the request immediately, and blocks until the response can be processed or is in error.
       *
       * To avoid leaking resources callers should close the [Response] which in turn will close the
       * underlying [ResponseBody].
       *
       * ```java
       * // ensure the response (and underlying response body) is closed
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_1x.md

    _2014-03-17_
    
     * Fix bug where deleting a file that was absent from the `HttpResponseCache`
       caused an IOException.
     * Fix bug in HTTP/2 where our HPACK decoder wasn't emitting entries in
       certain eviction scenarios, leading to dropped response headers.
    
    ## Version 1.5.1
    
    _2014-03-11_
    
     * Fix 1.5.0 regression where connections should not have been recycled.
     * Fix 1.5.0 regression where transparent Gzip was broken by attempting to
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Handshake.kt

      /** Returns a possibly-empty list of certificates that identify this peer. */
      @get:JvmName("localCertificates") val localCertificates: List<Certificate>,
      // Delayed provider of peerCertificates, to allow lazy cleaning.
      peerCertificatesFn: () -> List<Certificate>,
    ) {
      /** Returns a possibly-empty list of certificates that identify the remote peer. */
      @get:JvmName("peerCertificates")
      val peerCertificates: List<Certificate> by lazy {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_3x.md

        once in response to a 408.
     *  Fix: Don't crash when reading the empty `HEAD` response body if it specifies
        a `Content-Length`.
     *  Fix: Don't crash if the thread is interrupted while reading the public
        suffix database.
     *  Fix: Use relative resource path when loading the public suffix database.
        Loading the resource using a path relative to the class prevents conflicts
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * `%F0%9F%8D%A9`). This approach works for whitespace characters, control characters, non-ASCII
     * characters, and characters that already have another meaning in a particular context.
     *
     * Percent encoding is used in every URL component except for the hostname. But the set of
     * characters that need to be encoded is different for each component. For example, the path
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt

        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1)
        assertThat(statusLine.code).isEqualTo(code)
      }
    
      /**
       * This is not defined in the protocol but some servers won't add the leading empty space when the
       * message is empty. http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1
       */
      @Test
      fun emptyMessageAndNoLeadingSpace() {
        val version = 1
        val code = 503
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. docs/works_with_okhttp.md

     * [Glide](https://github.com/bumptech/glide): An image loading and caching library for Android focused on smooth scrolling.
     * [GoogleAppEngineOkHttp](https://github.com/apkelly/GoogleAppEngineOkHttp): An OkHttp Call that works on Google App Engine.
     * [Hunter](https://github.com/Leaking/Hunter): Configure all OkHttpClients centrally.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jun 08 18:15:23 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  9. okhttp/src/test/resources/web-platform-test-toascii.json

        "input": "aa--",
        "output": "aa--"
      },
      {
        "input": "a†--",
        "output": "xn--a---kp0a"
      },
      {
        "input": "ab--c",
        "output": "ab--c"
      },
      {
        "comment": "Label with leading hyphen",
        "input": "-x",
        "output": "-x"
      },
      {
        "input": "-†",
        "output": "xn----xhn"
      },
      {
        "input": "-x.xn--zca",
        "output": "-x.xn--zca"
      },
      {
        "input": "-x.ß",
    Json
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

    import javax.net.ssl.X509TrustManager
    import okhttp3.internal.platform.Platform
    
    /**
     * Computes the effective certificate chain from the raw array returned by Java's built in TLS APIs.
     * Cleaning a chain returns a list of certificates where the first element is `chain[0]`, each
     * certificate is signed by the certificate that follows, and the last certificate is a trusted CA
     * certificate.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top