- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 48 for doTest (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
// Assume the server won't send a TLS ServerHello until we send a TLS ClientHello. If // that happens, then we will have buffered bytes that are needed by the SSLSocket! // This check is imperfect: it doesn't tell us whether a handshake will succeed, just // that it will almost certainly fail because the proxy has sent unexpected data. if (source?.buffer?.exhausted() == false || sink?.buffer?.exhausted() == false) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 18.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
else -> { throw IllegalArgumentException("unexpected type: $label") } } } require(certificatePem != null) { "string does not include a certificate" } require(pkcs8Base64 != null) { "string does not include a private key" } return decode(certificatePem, pkcs8Base64) } private fun decode( certificatePem: String,
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) -
build.gradle.kts
version = "5.0.0-SNAPSHOT" repositories { mavenCentral() google() } tasks.create("downloadDependencies") { description = "Download all dependencies to the Gradle cache" doLast { for (configuration in configurations) { if (configuration.isCanBeResolved) { configuration.files } } } } normalization { runtimeClasspath {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:32:42 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/works_with_okhttp.md
* [OkHttp AWS Signer](https://github.com/babbel/okhttp-aws-signer): AWS V4 signing algorithm for OkHttp requests * [okhttp-digest](https://github.com/rburgst/okhttp-digest): A digest authenticator for OkHttp. * [OkHttp Idling Resource](https://github.com/JakeWharton/okhttp-idling-resource): An Espresso IdlingResource for OkHttp.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Jun 08 18:15:23 GMT 2022 - 3.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartBody.kt
/** * This type is syntactically identical to "multipart/mixed", but the semantics are different. * In particular, in a digest, the default `Content-Type` value for a body part is changed from * "text/plain" to "message/rfc822". */ @JvmField val DIGEST = "multipart/digest".toMediaType() /** * This type is syntactically identical to "multipart/mixed", but the semantics are different.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val contentLength: Long = multipartBody.contentLength() multipartBody.writeTo(Buffer()) val mixed: MediaType = MultipartBody.MIXED val alternative: MediaType = MultipartBody.ALTERNATIVE val digest: MediaType = MultipartBody.DIGEST val parallel: MediaType = MultipartBody.PARALLEL val form: MediaType = MultipartBody.FORM } @Test fun multipartBodyPart() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 46.5K bytes - Viewed (4) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt
// OkHttp does not reject invalid Punycode. "xn--a", "xn--a.ß", "xn--a.xn--zca", "xn--a-yoc", // OkHttp doesn't reject U+FFFD encoded in Punycode. "xn--zn7c.com", // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2 "xn--1ug.example", // OkHttp doesn't implement CheckJoiners. "\u200D.example",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
buildSrc/src/main/kotlin/Osgi.kt
setClasspath(osgi.compileClasspath + sourceSets["main"].compileClasspath) bnd(*bndProperties) } // Call the convention when the task has finished, to modify the jar to contain OSGi metadata. jarTask.doLast { bundleExtension.buildAction().execute(this) } } val Project.sourceSets: SourceSetContainer
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 2.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
* stale). */ class CacheStrategy internal constructor( /** The request to send on the network, or null if this call doesn't use the network. */ val networkRequest: Request?, /** The cached response to return or validate; or null if this call doesn't use a cache. */ val cacheResponse: Response?, ) { class Factory( private val nowMillis: Long, internal val request: Request,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
assertThat("⑴".map()).isEqualTo("(1)") } @Test fun outOfBounds() { assertFailsWith<IllegalArgumentException> { table.map(-1, Buffer()) } table.map(0, Buffer()) // Lowest legal code point. table.map(0x10ffff, Buffer()) // Highest legal code point. assertFailsWith<IllegalArgumentException> { table.map(0x110000, Buffer()) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.9K bytes - Viewed (0)