Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for Broder (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

         * ignoring the "TLS_" or "SSL_" prefix which is not consistent across platforms. In particular
         * some IBM JVMs use the "SSL_" prefix everywhere whereas Oracle JVMs mix "TLS_" and "SSL_".
         */
        internal val ORDER_BY_NAME =
          object : Comparator<String> {
            override fun compare(
              a: String,
              b: String,
            ): Int {
              var i = 4
              val limit = minOf(a.length, b.length)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

                )
    
            return choice to choice.fromDer(reader)
          }
    
          override fun toDer(
            writer: DerWriter,
            value: Pair<DerAdapter<*>, Any?>,
          ) {
            val (adapter, v) = value
            (adapter as DerAdapter<Any?>).toDer(writer, v)
          }
    
          override fun toString(): String = choices.joinToString(separator = " OR ")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

          }
    
          override fun fromDer(reader: DerReader): Long {
            val peekHeader =
              reader.peekHeader()
                ?: throw ProtocolException("expected time but was exhausted at $reader")
    
            return when {
              peekHeader.tagClass == Adapters.UTC_TIME.tagClass &&
                peekHeader.tag == Adapters.UTC_TIME.tag -> {
                Adapters.UTC_TIME.fromDer(reader)
              }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

      @Throws(IOException::class)
      fun byteString() = commonByteString()
    
      /**
       * Returns the response as a character stream.
       *
       * If the response starts with a
       * [Byte Order Mark (BOM)](https://en.wikipedia.org/wiki/Byte_order_mark), it is consumed and
       * used to determine the charset of the response bytes.
       *
       * Otherwise if the response has a `Content-Type` header that specifies a charset, that is used
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. .github/CONTRIBUTING.md

    ============
    
    If you would like to contribute code to OkHttp you can do so through GitHub by
    forking the repository and sending a pull request.
    
    When submitting code, please make every effort to follow existing conventions
    and style in order to keep the code as readable as possible. Please also make
    sure your code compiles by running `./gradlew check`. Checkstyle failures
    during compilation indicate errors in your style and can be viewed in the
    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)
  6. docs/contribute/code_of_conduct.md

       questions. Those who are asked should be responsive and helpful.
    
     * **Step down considerately**: Members of every project come and go. When somebody leaves or
       disengages from the project, they should make it known and take the proper steps to ensure that
       others can pick up where they left off.
    
    This code is not exhaustive or complete. It serves to distill our common understanding of a
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      if (candidate.range.first != index) return null // Didn't match where it should have.
      return candidate
    }
    
    @JvmField
    val EMPTY_BYTE_ARRAY: ByteArray = ByteArray(0)
    
    /** Byte order marks. */
    internal val UNICODE_BOMS =
      Options.of(
        // UTF-8.
        "efbbbf".decodeHex(),
        // UTF-16BE.
        "feff".decodeHex(),
        // UTF-16LE.
        "fffe".decodeHex(),
        // UTF-32BE.
    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)
  8. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

      private final OkHttpClient client;
    
      public CustomCipherSuites() throws GeneralSecurityException {
        // Configure cipher suites to demonstrate how to customize which cipher suites will be used for
        // an OkHttp request. In order to be selected a cipher suite must be included in both OkHttp's
        // connection spec and in the SSLSocket's enabled cipher suites array. Most applications should
        // not customize the cipher suites list.
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_1x.md

     * Fix: Respect read timeouts on recycled connections.
     * Fix: Transmit multiple cookie values as a single header with delimiter.
     * Fix: Ensure `null` is never returned from a connection's `getHeaderFields()`.
     * Fix: Persist proper `Content-Encoding` header to cache for GZip responses.
     * Fix: Eliminate rare race condition in SPDY streams that would prevent connection reuse.
     * Fix: Change HTTP date formats to UTC to conform to RFC2616 section 3.3.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

       * them, so the CN is unused.
       */
      @Test fun verifyNonAsciiSubjectAlt() {
        // Expecting actual:
        //  ["bar.com", "花子.co.jp"]
        // to contain exactly (and in same order):
        //  ["bar.com", "������.co.jp"]
        platform.assumeNotBouncyCastle()
    
        // CN=foo.com, subjectAlt=bar.com, subjectAlt=&#x82b1;&#x5b50;.co.jp
        // (hanako.co.jp in kanji)
        val session =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
Back to top