Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 20 (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

          28, 20, 22, 20, 20, 22, 22, 22, 23, 22, 23, 23, 23, 23, 23, 24, 23, 24, 24, 22, 23, 24,
          23, 23, 23, 23, 21, 22, 23, 22, 23, 23, 24, 22, 21, 20, 22, 22, 23, 23, 21, 23, 22, 22,
          24, 21, 22, 23, 23, 21, 21, 22, 21, 23, 22, 23, 23, 20, 22, 22, 22, 23, 22, 22, 23, 26,
          26, 20, 19, 22, 23, 22, 25, 26, 26, 26, 27, 27, 26, 24, 25, 19, 21, 26, 27, 27, 26, 27,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

          val response = client.execute(request, LoggingCallback).get()
    
          println("Protocol ${response.version}")
          println("Response ${response.code}")
          println("${response.body.bodyText.substring(0, 20)}...")
    
          Assert.assertEquals(ProtocolVersion("HTTP", 2, 0), response.version)
        }
      }
    }
    
    object LoggingCallback : FutureCallback<SimpleHttpResponse> {
      override fun completed(response: SimpleHttpResponse) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

        It's also how OkHttp knows which domains can share cookies with one another.
     *  Upgrade: [Okio 3.2.0][okio_3_2_0].
    
    
    ## Version 4.10.0
    
    _2022-06-12_
    
     *  Upgrade: [Kotlin 1.6.20][kotlin_1_6_20].
     *  Upgrade: [Okio 3.0.0][okio_3_0_0].
     *  Fix: Recover gracefully when Android's `NativeCrypto` crashes with `"ssl == null"`. This occurs
        when OkHttp retrieves ALPN state on a closed connection.
    
    
    ## Version 4.9.3
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun hostContainsIllegalCharacter() {
        assertInvalid("http://\n/", "Invalid URL host: \"\n\"")
        assertInvalid("http:// /", "Invalid URL host: \" \"")
        assertInvalid("http://%20/", "Invalid URL host: \"%20\"")
      }
    
      @Test
      fun hostnameLowercaseCharactersMappedDirectly() {
        assertThat(parse("http://abcd").host).isEqualTo("abcd")
        assertThat(parse("http://σ").host).isEqualTo("xn--4xa")
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          MockResponse(body = "Success!"),
        )
        val response = getResponse(newRequest("/0"))
        assertContent("Success!", response)
        assertThat(response.request.url)
          .isEqualTo(server.url("/20"))
      }
    
      @Test
      fun doesNotFollow21Redirects() {
        for (i in 0..20) {
          server.enqueue(
            MockResponse(
              code = HttpURLConnection.HTTP_MOVED_TEMP,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

          // Encode ' ' as '+'.
          writeUtf8("+")
        } else if (codePoint == '+'.code && plusIsSpace) {
          // Encode '+' as '%2B' since we permit ' ' to be encoded as either '+' or '%20'.
          writeUtf8(if (alreadyEncoded) "+" else "%2B")
        } else if (codePoint < 0x20 ||
          codePoint == 0x7f ||
          codePoint >= 0x80 && !unicodeAllowed ||
          codePoint.toChar() in encodeSet ||
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    associates
    
    // athleta : 2015-07-30 The Gap, Inc.
    athleta
    
    // attorney : 2014-03-20 Dog Beach, LLC
    attorney
    
    // auction : 2014-03-20 Dog Beach, LLC
    auction
    
    // audi : 2015-05-21 AUDI Aktiengesellschaft
    audi
    
    // audible : 2015-06-25 Amazon Registry Services, Inc.
    audible
    
    // audio : 2014-03-20 XYZ.COM LLC
    audio
    
    // auspost : 2015-08-13 Australian Postal Corporation
    auspost
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  8. okhttp/src/main/kotlin/okhttp3/Headers.kt

            result[name] = values
          }
          values.add(value(i))
        }
        return result
      }
    
      class Builder {
        internal val namesAndValues: MutableList<String> = ArrayList(20)
    
        /**
         * Add a header line without any validation. Only appropriate for headers from the remote peer
         * or cache.
         */
        internal fun addLenient(line: String) =
          apply {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

            source = Buffer().writeUtf8(multipart),
          )
    
        val partAbc = parts.nextPart()!!
        val partMno = parts.nextPart()!!
    
        assertFailsWith<IllegalStateException> {
          partAbc.body.request(20)
        }.also { expected ->
          assertThat(expected).hasMessage("closed")
        }
    
        assertThat(partMno.body.readUtf8()).isEqualTo("mnop")
        assertThat(parts.nextPart()).isNull()
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    \t\s\s\s:foo.com\s\s\s\n  s:http h:example.org p:/foo/:foo.com
    \sfoo.com\s\s  s:http h:example.org p:/foo/foo.com
    a:\t\sfoo.com  s:a p:\sfoo.com
    http://f:21/\sb\s?\sd\s#\se\s  s:http h:f port:21 p:/%20b%20 q:?%20d%20 f:#\se
    http://f:/c  s:http h:f p:/c
    http://f:0/c  s:http h:f port:0 p:/c
    http://f:00000000000000/c  s:http h:f port:0 p:/c
    http://f:00000000000000000000080/c  s:http h:f p:/c
    http://f:b/c
    http://f:\s/c
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top