- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for James (0.13 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
} /** Returns the negotiated protocol, or null if no protocol was negotiated. */ open fun getSelectedProtocol(sslSocket: SSLSocket): String? = null /** For MockWebServer. This returns the inbound SNI names. */ @SuppressLint("NewApi") @IgnoreJRERequirement // This function is overridden to require API >= 24. open fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> {
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) -
docs/changelogs/changelog_4x.md
locality and performance OkHttp attempts to use the same pooled connection across redirects and follow-ups. It independently shares connections when the IP addresses and certificates match, even if the host names do not. In 4.4.0 we introduced a regression where we shared a connection when certificates matched but the DNS addresses did not. This would only occur when following a
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) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
.isEqualTo(bytes) assertThat(CertificateAdapters.extension.fromDer(bytes)) .isEqualTo(extension) } @Test fun `extension with type hint for subject alternative names`() { val extension = Extension( SUBJECT_ALTERNATIVE_NAME, false, listOf( generalNameDnsName to "cash.app", generalNameDnsName to "www.cash.app",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
assertThat(verifier.verify("a.bar.com", session)).isFalse() } /** * Ignored due to incompatibilities between Android and Java on how non-ASCII subject alt names * are parsed. Android fails to parse these, which means we fall back to the CN. The RI does parse * them, so the CN is unused. */ @Test fun verifyNonAsciiSubjectAlt() { // Expecting actual:
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) -
okhttp/src/test/java/okhttp3/RouteFailureTest.kt
val proxySelector = RecordingProxySelector() proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, InetSocketAddress("myproxy", 8008))) // Define two host names for the DNS routing of fake proxy servers val proxyServer1 = InetAddress.getByAddress("proxyServer1", byteArrayOf(127, 0, 0, 2)) val proxyServer2 = InetAddress.getByAddress("proxyServer2", byteArrayOf(127, 0, 0, 3))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 11.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
fun name(index: Int): String = commonName(index) /** Returns the value at `index`. */ fun value(index: Int): String = commonValue(index) /** Returns an immutable case-insensitive set of header names. */ fun names(): Set<String> { val result = TreeSet(String.CASE_INSENSITIVE_ORDER) for (i in 0 until size) { result.add(name(i)) } return Collections.unmodifiableSet(result) }
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) -
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) -
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) -
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) -
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)