- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for nodejs (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt
val childIndex = (accumulator ushr (accumulatorBitCount - 8)) and 0xff node = node.children!![childIndex]!! if (node.children == null) { // Terminal node. sink.writeByte(node.symbol) accumulatorBitCount -= node.terminalBitCount node = root } else { // Non-terminal node. accumulatorBitCount -= 8 } } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.3K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
// with MD5 or 512-bit RSA; that's insecure! // // openssl req \ // -x509 \ // -md5 \ // -nodes \ // -days 1 \ // -newkey rsa:512 \ // -keyout privateKey.key \ // -out certificate.crt val certificatePem = """ |-----BEGIN CERTIFICATE-----
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 22.5K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
when you call `contains(null)` on them! * Fix: Retain binary-compatibility in `okhttp3.internal.HttpHeaders.hasBody()`. Some unscrupulous coders call this and we don't want their users to suffer. ## Version 4.0.0 _2019-06-26_ **This release upgrades OkHttp to Kotlin.** We tried our best to make fast and safe to upgrade
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/src/test/java/okhttp3/WebPlatformUrlTest.kt
import okio.buffer import okio.source import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** Runs the web platform URL tests against Java URL models. */ class WebPlatformUrlTest { class TestDataParamProvider : SimpleProvider() { override fun arguments() = ArrayList<Any>(loadTests()) } /** Test how [HttpUrl] does against the web platform test suite. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.7K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
delegate: SSLSocketFactory, ) : DelegatingSSLSocketFactory(delegate) { override fun configureSocket(sslSocket: SSLSocket): SSLSocket { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { val parameters = sslSocket.sslParameters val sni = parameters.serverNames Log.d("CustomSSLSocketFactory", "old SNI: $sni")
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) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt
import java.io.IOException import okhttp3.Headers import okhttp3.internal.delimiterOffset import okhttp3.internal.trimSubstring import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement /** * Models the contents of a `Sec-WebSocket-Extensions` response header. OkHttp honors one extension * `permessage-deflate` and four parameters, `client_max_window_bits`, `client_no_context_takeover`,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
// [distinguished_name] // [req_extensions] // [x509_extensions] // subjectAltName=DNS:localhost.localdomain,DNS:localhost,IP:127.0.0.1 // // $ openssl req -x509 -nodes -days 36500 -subj '/CN=localhost' -config ./cert.cnf \ // -newkey rsa:512 -out cert.pem val certificate = certificate( """ -----BEGIN CERTIFICATE-----
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/resources/okhttp3/internal/idn/rfc3454.C.5.txt
D800-DFFF; [SURROGATE CODES]...
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 32 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpStatusCodes.kt
* individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. */ package okhttp3.internal.http // HTTP Status Codes not offered by HttpUrlConnection. // // https://datatracker.ietf.org/doc/html/rfc7231#page-47 // // From https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 1.9K bytes - Viewed (0) -
okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt
.addTrustedCertificate(heldCertificate.certificate) .build() } @Before fun init() { assumeTrue("Supported on API 29+", Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) client = OkHttpClient.Builder() .dns(AsyncDns.toDns(AndroidAsyncDns.IPv4, AndroidAsyncDns.IPv6)) .sslSocketFactory(localhost.sslSocketFactory(), localhost.trustManager) .build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (0)