Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Korving (0.2 sec)

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

        assertThat(url.queryParameterNames).isEqualTo(setOf("a+=& b"))
        assertThat(url.queryParameterValues("a+=& b")).isEqualTo(listOf("c+=& d"))
        assertThat(url.querySize).isEqualTo(1)
        // Ambiguous! (Though working as designed.)
        assertThat(url.query).isEqualTo("a+=& b=c+=& d")
        assertThat(url.encodedQuery).isEqualTo("a%2B%3D%26%20b=c%2B%3D%26%20d")
      }
    
      @Test
      fun composeQueryWithEncodedComponents() {
    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/test/java/okhttp3/URLConnectionTest.kt

        val inputStream = connection1.body.byteStream()
        inputStream.close()
        val elapsedNanos = System.nanoTime() - startNanos
        val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos)
    
        // If we're working correctly, this should be greater than 100ms, but less than double that.
        // Previously we had a bug where we would download the entire response body as long as no
        // individual read took longer than 100ms.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. .github/CONTRIBUTING.md

    - Favour a working external library if appropriate.  There are many examples of OkHttp libraries that can sit on top or hook in via existing APIs.
    - Get working code on a personal branch with tests before you submit a PR.
    - OkHttp is a small and light dependency.  Don't introduce new dependencies or major new functionality.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 17 04:16:26 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Header.kt

      @JvmField val name: ByteString,
      /** Value in UTF-8 encoding. */
      @JvmField val value: ByteString,
    ) {
      @JvmField val hpackSize = 32 + name.size + value.size
    
      // TODO: search for toLowerCase and consider moving logic here.
      constructor(name: String, value: String) : this(name.encodeUtf8(), value.encodeUtf8())
    
      constructor(name: ByteString, value: String) : this(name, value.encodeUtf8())
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. docs/contribute/code_of_conduct.md

    emailing [******@****.***][codeofconduct_at]. For more details, please see our Reporting
    Guidelines below.
    
    Thanks
    ------
    
    Some of the ideas and wording for the statements and guidelines above were based on work by the
    [Twitter][twitter_coc], [Ubuntu][ubuntu_coc], [GDC][gdc_coc], and [Django][django_coc] communities.
    We are thankful for their work.
    
    Reporting Guide
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

     * if any intersection is found. The sizes of both arguments are assumed to be so small, and the
     * likelihood of an intersection so great, that it is not worth the CPU cost of sorting or the
     * memory cost of hashing.
     */
    internal fun Array<String>.hasIntersection(
      other: Array<String>?,
      comparator: Comparator<in String>,
    ): Boolean {
      if (isEmpty() || other == null || other.isEmpty()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        commitment was originally through December 31, 2020; we have since extended it.)
    
     *  **TLSv1 and TLSv1.1 are no longer enabled by default.** Major web browsers are working towards
        removing these versions altogether in early 2020. If your servers aren't ready yet you can
        configure OkHttp 3.13 to allow TLSv1 and TLSv1.1 connections:
    
        ```
    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)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * Because they don't attempt canonical form, these classes are surprisingly difficult to use
     * securely. Suppose you're building a webservice that checks that incoming paths are prefixed
     * "/static/images/" before serving the corresponding assets from the filesystem.
     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
     * System.out.println(new URL(attack).getPath());
    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)
  9. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

        "okhttp3.osgi.OsgiTest",
        // Hanging.
        "okhttp3.CookiesTest",
        // Hanging.
        "okhttp3.WholeOperationTimeoutTest",
      )
    
    /**
     * Run periodically to refresh the known set of working tests.
     *
     * TODO use filtering to allow skipping acceptable problem tests
     */
    fun main() {
      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

         * with Chrome's behavior (which also experimentally seems to match what IE does), but if you
         * actually want to have a good chance of things working, please avoid double-quotes, newlines,
         * percent signs, and the like in your field names.
         */
        internal fun StringBuilder.appendQuotedString(key: String) {
          append('"')
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
Back to top