Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for be (0.13 sec)

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

      }
    
      /**
       * UTS 46 Validity Criteria: Decoded punycode must be NFC.
       *
       * https://www.unicode.org/reports/tr46/#Validity_Criteria
       */
      @Test
      fun hostnameInPunycodeNfcAndNfd() {
        // café can be NFC (é is one code point) or NFD (e plus ´ as two code points).
        val hostNfc = "café.com"
        val hostNfcPunycode = "xn--caf-dma.com"
    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. docs/changelogs/changelog_3x.md

        continue to work as they always have, but we're moving everything to the new
        OkHttp 3 API. The `okhttp-apache` and `okhttp-urlconnection` modules should
        be only be used to accelerate a transition to OkHttp's request/response API.
        These deprecated modules will be dropped in an upcoming OkHttp 3.x release.
    
     *  **Canceling batches of calls is now the application's responsibility.**
    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/main/kotlin/okhttp3/HttpUrl.kt

       * returned URI may be semantically different from this URL:
       *
       *  * Characters forbidden by URI like `[` and `|` will be escaped.
       *
       *  * Invalid percent-encoded sequences like `%xx` will be encoded like `%25xx`.
       *
       *  * Whitespace and control characters in the fragment will be stripped.
       *
    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)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          }
    
        /**
         * Sets the proxy selection policy to be used if no [proxy][proxy] is specified explicitly. The
         * proxy selector may return multiple proxies; in that case they will be tried in sequence until
         * a successful connection is established.
         *
         * If unset, the [system-wide default][ProxySelector.getDefault] proxy selector will be used.
         */
        fun proxySelector(proxySelector: ProxySelector) =
    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/HttpOverHttp2Test.kt

        )
        val read = response1.body.source().read(ByteArray(8192))
        assertThat(read).isEqualTo(8192)
    
        // Make a second call that should transmit the response headers. The response body won't be
        // 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)
    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)
  6. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun journalWithEditAndPublish(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        val creator = cache.edit("k1")!!
        assertJournalEquals("DIRTY k1") // DIRTY must always be flushed.
        creator.setString(0, "AB")
        creator.setString(1, "C")
        creator.commit()
        cache.close()
        assertJournalEquals("DIRTY k1", "CLEAN k1 2 1")
      }
    
      @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)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

      }
    
      /**
       * Webservers may set the initial window size to zero, which is a special case because it means
       * that we have to flush headers immediately before any request body can be sent.
       * https://github.com/square/okhttp/issues/2543
       */
      @Test fun peerSetsZeroFlowControl() {
        peer.setClient(true)
    
        // Write the mocking script.
    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