Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for contro (0.14 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        // transmitted until the flow-control window is updated from the first request.
        val call2 = client.newCall(Request(server.url("/")))
        val response2 = call2.execute()
        assertThat(response2.code).isEqualTo(200)
    
        // Close the response body. This should discard the buffered data and update the connection
        // flow-control window.
        response1.close()
    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)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * ### Percent encoding
     *
     * Percent encoding replaces a character (like `\ud83c\udf69`) with its UTF-8 hex bytes (like
     * `%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
    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)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      }
    
      @Test
      fun cacheHit() {
        enableCache()
        server.enqueue(
          MockResponse.Builder()
            .body("abc")
            .addHeader("cache-control: public, max-age=300")
            .build(),
        )
        var call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
Back to top