- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for specs (0.15 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
import java.security.Signature import java.security.cert.X509Certificate import java.security.interfaces.ECPublicKey import java.security.interfaces.RSAPrivateKey import java.security.interfaces.RSAPublicKey import java.security.spec.PKCS8EncodedKeySpec import java.util.UUID import java.util.concurrent.TimeUnit import okhttp3.internal.canParseAsIpAddress import okhttp3.tls.internal.der.AlgorithmIdentifier
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) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
@Override protected SSLSocket configureSocket(SSLSocket socket) throws IOException { socket.setEnabledCipherSuites(javaNames(spec.cipherSuites())); return socket; } }; client = new OkHttpClient.Builder() .connectionSpecs(Collections.singletonList(spec)) .sslSocketFactory(customSslSocketFactory, trustManager) .build(); } /**
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) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Header.kt
constructor(name: ByteString, value: String) : this(name, value.encodeUtf8()) override fun toString(): String = "${name.utf8()}: ${value.utf8()}" companion object { // Special header names defined in HTTP/2 spec. @JvmField val PSEUDO_PREFIX: ByteString = ":".encodeUtf8() const val RESPONSE_STATUS_UTF8 = ":status" const val TARGET_METHOD_UTF8 = ":method" const val TARGET_PATH_UTF8 = ":path"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0) -
docs/features/calls.md
If a conditional GET was successful, responses from the network and cache are merged as directed by the spec. ## Follow-up Requests When your requested URL has moved, the webserver will return a response code like `302` to indicate the document’s new URL. OkHttp will follow the redirect to retrieve a final response.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
private val algorithmParameters: DerAdapter<Any?> = Adapters.usingTypeHint { typeHint -> when (typeHint) { // This type is pretty strange. The spec says that for certain algorithms we must encode null // when it is present, and for others we must omit it! // https://tools.ietf.org/html/rfc4055#section-2.1
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) -
okhttp/src/test/resources/web-platform-test-urltestdata.txt
http://%ef%b7%90zyx.com # Test name prepping, fullwidth input should be converted to ASCII and NOT # IDN-ized. This is "Go" in fullwidth UTF-8/UTF-16. http://\uff27\uff4f.com s:http p:/ h:go.com # URL spec forbids the following. # https://www.w3.org/Bugs/Public/show_bug.cgi?id=24257 http://\uff05\uff14\uff11.com http://%ef%bc%85%ef%bc%94%ef%bc%91.com # ...%00 in fullwidth should fail (also as escaped UTF-8 input)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 14.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
return buildRedirectRequest(userResponse, method) } HTTP_CLIENT_TIMEOUT -> { // 408's are rare in practice, but some servers like HAProxy use this response code. The // spec says that we may repeat the request without modifications. Modern browsers also // repeat the request (even non-idempotent ones.) if (!client.retryOnConnectionFailure) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12.1K bytes - Viewed (4) -
docs/changelogs/changelog_2x.md
for each. This changes `Address` to no longer use `ConnectionSpec`. (This is an incompatible API change). * **`FormEncodingBuilder` now uses `%20` instead of `+` for encoded spaces.** Both are permitted-by-spec, but `%20` requires fewer special cases. * **Okio has been updated to 1.4.0.** ```xml <dependency> <groupId>com.squareup.okio</groupId> <artifactId>okio</artifactId>
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
assumeTrue(PlatformVersion.majorVersion != 8) } val sessionIds = mutableListOf<String>() enableTls() val tlsVersion = TlsVersion.forJavaName(tlsVersion) val spec = ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) .tlsVersions(tlsVersion) .build() var reuseSession = false val sslContext = handshakeCertificates.sslContext()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
* * * DER: Distinguished Encoding Rules. This further constrains ASN.1 for deterministic encoding. * * BER: Basic Encoding Rules. * * This class was implemented according to the [X.690 spec][[x690]], and under the advice of * [Lets Encrypt's ASN.1 and DER][asn1_and_der] guide. * * [x690]: https://www.itu.int/rec/T-REC-X.690 * [asn1_and_der]: https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/ */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0)