- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 37 for itself (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/Request.kt
import okhttp3.internal.commonRemoveHeader import okhttp3.internal.commonTag import okhttp3.internal.commonToString /** * An HTTP request. Instances of this class are immutable if their [body] is null or itself * immutable. */ class Request internal constructor(builder: Builder) { @get:JvmName("url") val url: HttpUrl = checkNotNull(builder.url) { "url == null" } @get:JvmName("method")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:17:44 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
CertificateAdapters.subjectPublicKeyInfo.fromDer(bytes) }.also { expected -> assertThat(expected.message).isEqualTo("enclosed object too large") } } /** Object identifiers are nominally self-delimiting. Outrun the limit with one. */ @Test fun `variable length long outruns limit`() { val bytes = "060229ffffff7f".decodeHex() assertFailsWith<ProtocolException> {
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/build.gradle.kts
- The compressed index.xml file contains a timestamp property which changes with every test execution, such that running the test actually changes the test classpath itself. This means that it can"t benefit from incremental build acceleration, because on every execution it sees that the classpath has changed, and so to be safe, it needs to re-run.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 04 05:32:07 GMT 2024 - 5.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt
} /** * Because our API always transcodes through UTF-8, and that transcoding replaces unpaired * surrogates with '?', we can't test this behavior with Java Strings. Instead, pass the surrogate * code itself encoded as UTF-8 sequence. */ @Test fun prohibitionSurrogateCodes() { // UTF-8 encoding of the high surrogate U+D800. assertThat(stringPrep(Buffer().write("eda080".decodeHex()))).isNull() }
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
// If we do have a route selector, use its routes. return localRouteSelector.hasNext() } /** * Return the route from [connection] if it should be retried, even if the connection itself is * unhealthy. The biggest gotcha here is that we shouldn't reuse routes from coalesced * connections. */ private fun retryRoute(connection: RealConnection): Route? { return connection.withLock {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 12K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
to TLSv1.2. * New: `Request.tag()` permits multiple tags. Use a `Class<?>` as a key to identify tags. Note that `tag()` now returns null if the request has no tag. Previously this would return the request itself. * New: `Headers.Builder.addAll(Headers)`. * New: `ResponseBody.create(MediaType, ByteString)`. * New: Embed R8/ProGuard rules in the jar. These will be applied automatically by R8.
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) -
CHANGELOG.md
## Version 5.0.0-alpha.8 _2022-06-08_ * Fix: Change how `H2_PRIOR_KNOWLEDGE` works with HTTP proxies. Previously OkHttp assumed the proxy itself was a prior knowledge HTTP/2 server. With this update, OkHttp attempts a `CONNECT` tunnel just as it would with HTTPS. For prior knowledge with proxies OkHttp's is now consistent with these curl arguments: ```
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
gradlew
# and any embedded shellness will be escaped. # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be # treated as '${Hostname}' itself on the command line. set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ -classpath "$CLASSPATH" \ org.gradle.wrapper.GradleWrapperMain \ "$@"
Shell Script - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 24 09:00:26 GMT 2023 - 8.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
try { val connection = exchangeFinderFactory(this, state.address, PoolConnectionUser).find() // RealRoutePlanner will add the connection to the pool itself, other RoutePlanners may not // TODO: make all RoutePlanners consistent in this behavior if (connection !in connections) { connection.withLock { put(connection) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
import okhttp3.tls.HeldCertificate import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension /** * Tests for our hostname verifier. Most of these tests are from AOSP, which itself includes tests * from the Apache HTTP Client test suite. */ class HostnameVerifierTest { private val verifier = OkHostnameVerifier @RegisterExtension var platform = PlatformRule()
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)