Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for bottom (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *
     * ```
     *  0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
     * 64..79 : Offset by a fixed negative offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     * 80..95 : Offset by a fixed positive offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     *    119 : Ignored.
     *    120 : Valid.
     *    121 : Disallowed
     *    122 : Mapped inline to the sequence: [b2].
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * doesn't cache partial responses.
     *
     * ## Force a Network Response
     *
     * In some situations, such as after a user clicks a 'refresh' button, it may be necessary to skip
     * the cache, and fetch data directly from the server. To force a full refresh, add the `no-cache`
     * directive:
     *
     * ```java
     * Request request = new Request.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      @Test
      fun clientReadsHeadersDataTrailersHttp2() {
        platform.assumeHttp2Support()
        server.enqueue(
          MockResponse.Builder()
            .clearHeaders()
            .addHeader("h1", "v1")
            .addHeader("h2", "v2")
            .body("HelloBonjour")
            .trailers(headersOf("trailers", "boom"))
            .build(),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        Exception::class,
      )
      fun throwingOnFailLogs() {
        webServer.enqueue(
          MockResponse.Builder()
            .code(200)
            .body("Body")
            .build(),
        )
        val e = RuntimeException("boom")
        clientListener.setNextEventDelegate(
          object : WebSocketListener() {
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        plan0.tcpConnectThrowable = IOException("boom 0!")
        val plan1 = routePlanner.addPlan()
        plan1.tcpConnectThrowable = IOException("boom 1!")
    
        taskRunner.newQueue().execute("connect") {
          assertFailsWith<IOException> {
            finder.find()
          }.also { expected ->
            assertThat(expected).hasMessage("boom 0!")
            assertThat(expected.suppressed.single()).hasMessage("boom 1!")
          }
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // SYN_STREAM
        peer.sendFrame().headers(false, 3, headerEntries("headers", "bam"))
        peer.acceptFrame() // PING
        peer.sendFrame().headers(true, 3, headerEntries("trailers", "boom"))
        peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 0) // PONG
        peer.play()
    
        // Play it back.
        val connection = connect(peer)
    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