Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for border (0.37 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          val newHeadersToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER)
          newHeadersToRedact += headersToRedact
          newHeadersToRedact += name
          headersToRedact = newHeadersToRedact
        }
    
        fun redactQueryParams(vararg name: String) {
          val newQueryParamsNameToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER)
          newQueryParamsNameToRedact += queryParamsNameToRedact
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

      }
    
      open fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? {
        return try {
          // Attempt to get the trust manager from an OpenJDK socket factory. We attempt this on all
          // platforms in order to support Robolectric, which mixes classes from both Android and the
          // Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  3. docs/changelogs/changelog_4x.md

    _2020-05-20_
    
     *  Fix: Don't crash inspecting whether the host platform is JVM or Android. With 4.7.0 and 4.7.1 we
        had a crash `IllegalArgumentException: Not a Conscrypt trust manager` because we depended on
        initialization order of companion objects.
    
    
    ## Version 4.7.1
    
    _2020-05-18_
    
     *  Fix: Pass the right arguments in the trust manager created for `addInsecureHost()`. Without the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Headers.kt

       * the same order. Note that two headers instances may be *semantically* equal but not equal
       * according to this method. In particular, none of the following sets of headers are equal
       * according to this method:
       *
       * 1. Original
       * ```
       * Content-Type: text/html
       * Content-Length: 50
       * ```
       *
       * 2. Different order
       *
       * ```
       * Content-Length: 50
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

      /** Ciphers in order we observed directly on the socket. */
      private lateinit var handshakeEnabledCipherSuites: List<String>
    
      /** Ciphers in order we observed on sslSocketFactory defaults. */
      private lateinit var defaultEnabledCipherSuites: List<String>
    
      /** Ciphers in order we observed on sslSocketFactory supported. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          fail<Any>()
        } catch (ioe: IOException) {
          assertThat(ioe).hasMessage("google.com")
          assertThat(ioe.cause!!).isInstanceOf<EOFException>()
        }
      }
    
      // TODO GET preferred order - with tests to confirm this
      // 1. successful fresh cached GET response
      // 2. unsuccessful (404, 500) fresh cached GET response
      // 3. successful network response
      // 4. successful stale cached GET response
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     * host platform (like Android). In July 2018 Android had 134 trusted root certificates for its HTTP
     * clients to trust.
     *
     * For example, in order to establish a secure connection to `https://www.squareup.com/`,
     * these three certificates are used.
     *
     * ```
     * www.squareup.com certificate:
     *
     * Common Name: www.squareup.com
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/Cache.kt

            if (!"Vary".equals(name(i), ignoreCase = true)) {
              continue
            }
    
            val value = value(i)
            if (result == null) {
              result = TreeSet(String.CASE_INSENSITIVE_ORDER)
            }
            for (varyField in value.split(',')) {
              result.add(varyField.trim())
            }
          }
          return result ?: emptySet()
        }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top