Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for attempted (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

        /**
         * Sets the authenticator used to respond to challenges from origin servers. Use
         * [proxyAuthenticator] to set the authenticator for proxy servers.
         *
         * If unset, the [no authentication will be attempted][Authenticator.NONE].
         */
        fun authenticator(authenticator: Authenticator) =
          apply {
            this.authenticator = authenticator
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

    ## Version 3.4.2
    
    _2016-11-03_
    
     *  Fix: Recover gracefully when an HTTP/2 connection is shutdown. We had a
        bug where shutdown HTTP/2 connections were considered usable. This caused
        infinite loops when calls attempted to recover.
    
    
    ## Version 3.4.1
    
    _2016-07-10_
    
     *  **Fix a major bug in encoding HTTP headers.** In 3.4.0 and 3.4.0-RC1 OkHttp
        had an off-by-one bug in our HPACK encoder. This bug could have caused the
    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)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        }.also { expected ->
          assertThat(expected.errorCode).isEqualTo(ErrorCode.REFUSED_STREAM)
        }
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0) // New connection.
    
        // Second call attempts the pooled connection, and it fails. Then it retries a new route which
        // succeeds.
        val response2 = client.newCall(request).execute()
        assertThat(response2.body.string()).isEqualTo("abc")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * stores information-per-URL will need to either canonicalize manually, or suffer unnecessary
     * redundancy for such URLs.
     *
     * Because they don't attempt canonical form, these classes are surprisingly difficult to use
     * securely. Suppose you're building a webservice that checks that incoming paths are prefixed
    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)
  5. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun recoverFromInitializationFailure(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        // Add an uncommitted entry. This will get detected on initialization, and the cache will
        // attempt to delete the file. Do not explicitly close the cache here so the entry is left as
        // incomplete.
        val creator = cache.edit("k1")!!
        creator.newSink(0).buffer().use {
          it.writeUtf8("Hello")
        }
    
    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)
Back to top