Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for stats (0.13 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      /**
       * When callers use `addEncodedQueryParameter()` we only encode what's strictly required. We
       * retain the encoded (or non-encoded) state of the input.
       */
      @Test
      fun queryCharactersNotReencodedWhenComposedWithAddEncoded() {
        val url =
          HttpUrl.Builder()
            .scheme("http")
            .host("host")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          }
    
        /**
         * Adds a set of path segments separated by a slash (either `\` or `/`). If `pathSegments`
         * starts with a slash, the resulting URL will have empty path segment.
         */
        fun addPathSegments(pathSegments: String): Builder = addPathSegments(pathSegments, false)
    
    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. docs/changelogs/changelog_3x.md

        [ObsoleteApacheClient.java][obsolete_apache_client] into your project.
    
     *  **OkHttp now supports duplex calls over HTTP/2.** With normal HTTP calls the request must finish
        before the response starts. With duplex, request and response bodies are transmitted
        simultaneously. This can be used to implement interactive conversations within a single HTTP
        call.
    
    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)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      fun get204Response(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        val responseWithoutBody =
          MockResponse.Builder()
            .status("HTTP/1.1 204")
            .removeHeader("Content-Length")
            .build()
        server.enqueue(responseWithoutBody)
        val call = client.newCall(Request(server.url("/foo")))
        val response = call.execute()
    
    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)
  5. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        abortEditor.abort()
        cache.close()
        createNewCache()
    
        // Although 'c' successfully committed above, the journal wasn't available to issue a CLEAN op.
        // Because the last state of 'c' was DIRTY before the journal failed, it should be removed
        // entirely on a subsequent open.
        assertThat(cache.size()).isEqualTo(4)
        assertAbsent("c")
        assertAbsent("d")
        assertAbsent("e")
      }
    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)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // SYN_STREAM
        peer.acceptFrame() // PING
        peer.sendFrame()
          .headers(false, 3, headerEntries(Header.RESPONSE_STATUS_UTF8, "HTTP/1.1 100"))
        peer.sendFrame()
          .headers(false, 3, headerEntries(Header.RESPONSE_STATUS_UTF8, "HTTP/1.1 200"))
        peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 0)
        peer.play()
    
        // Play it back.
    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