Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Present (0.17 sec)

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

     * supports `http` and `https`. Use [java.net.URI][URI] for URLs with arbitrary schemes.
     *
     * ### Username and Password
     *
     * Username and password are either present, or the empty string `""` if absent. This class offers
     * no mechanism to differentiate empty from absent. Neither of these components are popular in
    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)
  2. docs/changelogs/changelog_3x.md

        from major web browsers.
     *  New: Honor the `Retry-After` response header. HTTP 503 (Unavailable)
        responses are retried automatically if this header is present and its delay
        is 0 seconds. HTTP 408 (Client Timeout) responses are retried automatically
        if the header is absent or its delay is 0 seconds.
     *  New: Allow request bodies for all HTTP methods except GET and HEAD.
    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/cache/DiskLruCacheTest.kt

        // The in-flight editor can still write after a trim failure.
        inFlightEditor.setString(0, "cc")
        inFlightEditor.setString(1, "cc")
        inFlightEditor.commit()
    
        // Confirm the committed values are present after a successful cache trim.
        filesystem.setFaultyDelete(cacheDir / "a.0", false)
        taskFaker.runNextTask()
        assertValue("c", "cc", "cc")
      }
    
      @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)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

        fun addInterceptor(interceptor: Interceptor) =
          apply {
            interceptors += interceptor
          }
    
        @JvmName("-addInterceptor") // Prefix with '-' to prevent ambiguous overloads from Java.
        inline fun addInterceptor(crossinline block: (chain: Interceptor.Chain) -> Response) =
          addInterceptor(Interceptor { chain -> block(chain) })
    
        /**
    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)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(synStream.associatedStreamId).isEqualTo(-1)
        assertThat(synStream.headerBlock).isEqualTo(headerEntries("a", "artichaut"))
      }
    
      /** A server RST_STREAM shouldn't prevent the client from consuming the response body.  */
      @Test fun serverResponseBodyRstStream() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top