Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for James (0.12 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     * these three certificates are used.
     *
     * ```
     * www.squareup.com certificate:
     *
     * Common Name: www.squareup.com
     * Subject Alternative Names: www.squareup.com, squareup.com, account.squareup.com...
     * Validity: 2018-07-03T20:18:17Z – 2019-08-01T20:48:15Z
     * Public Key: d107beecc17325f55da976bcbab207ba4df68bd3f8fce7c3b5850311128264fd53e1baa342f58d93...
    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)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

              schemeName,
              Collections.singletonMap<String, String>(null, peek + "=".repeat(eqCount)),
            ),
          )
          peek = null
          continue
        }
    
        // It's a series of parameter names and values.
        val parameters = mutableMapOf<String?, String>()
        eqCount += skipAll('='.code.toByte())
        while (true) {
          if (peek == null) {
            peek = readToken()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CookiesTest.kt

            .build()
        get(redirectSourceUrl)
        val request = redirectSource.takeRequest()
        assertThat(request.headers["Cookie"]).isEqualTo("c=cookie")
        for (header in redirectTarget.takeRequest().headers.names()) {
          if (header.startsWith("Cookie")) {
            fail(header)
          }
        }
      }
    
      @Test
      fun testCookiesSentIgnoresCase() {
        client =
          client.newBuilder()
            .cookieJar(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     *
     * Pinning is per-hostname and/or per-wildcard pattern. To pin both `publicobject.com` and
     * `www.publicobject.com` you must configure both hostnames. Or you may use patterns to match
     * sets of related domain names. The following forms are permitted:
     *
     *  * **Full domain name**: you may pin an exact domain name like `www.publicobject.com`. It won't
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

          }
        }
    
        /** Returns true if a Vary header contains an asterisk. Such responses cannot be cached. */
        fun Response.hasVaryAll(): Boolean = "*" in headers.varyFields()
    
        /**
         * Returns the names of the request headers that need to be checked for equality when caching.
         */
        private fun Headers.varyFields(): Set<String> {
          var result: MutableSet<String>? = null
          for (i in 0 until size) {
    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)
  6. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

        level = DeprecationLevel.ERROR,
      )
      fun javaName(): String = javaName
    
      override fun toString(): String = javaName
    
      companion object {
        /**
         * Compares cipher suites names like "TLS_RSA_WITH_NULL_MD5" and "SSL_RSA_WITH_NULL_MD5",
         * ignoring the "TLS_" or "SSL_" prefix which is not consistent across platforms. In particular
    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)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

    import okhttp3.dnsoverhttps.DohProviders.providers
    import org.conscrypt.OpenSSLProvider
    
    private fun runBatch(
      dnsProviders: List<DnsOverHttps>,
      names: List<String>,
    ) {
      var time = System.currentTimeMillis()
      for (dns in dnsProviders) {
        println("Testing ${dns.url}")
        for (host in names) {
          print("$host: ")
          System.out.flush()
          try {
            val results = dns.lookup(host)
            println(results)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

     *  Fix: Don't crash when URLs have IPv4-mapped IPv6 addresses.
     *  Fix: Don't crash when building `HandshakeCertificates` on Android API 28.
     *  Fix: Permit multipart file names to contain non-ASCII characters.
     *  New: API to get MockWebServer's dispatcher.
     *  New: API to access headers as `java.time.Instant`.
     *  New: Fail fast if a `SSLSocketFactory` is used as a `SocketFactory`.
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

          val sslParameters = sslSocket.sslParameters
    
          if (sslParameters is org.openjsse.javax.net.ssl.SSLParameters) {
            // Enable ALPN.
            val names = alpnProtocolNames(protocols)
            sslParameters.applicationProtocols = names.toTypedArray()
    
            sslSocket.sslParameters = sslParameters
          }
        } else {
          super.configureTlsExtensions(sslSocket, hostname, protocols)
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        val names = alpnProtocolNames(protocols)
    
        try {
          val alpnProvider =
            Proxy.newProxyInstance(
              Platform::class.java.classLoader,
              arrayOf(clientProviderClass, serverProviderClass),
              AlpnProvider(names),
            )
          putMethod.invoke(null, sslSocket, alpnProvider)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top