- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Continue (0.44 sec)
-
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
val equalsSign = header.delimiterOffset('=', pos, pairEnd) val name = header.trimSubstring(pos, equalsSign) if (name.startsWith("$")) { pos = pairEnd + 1 continue } // We have either name=value or just a name. var value = if (equalsSign < pairEnd) { header.trimSubstring(equalsSign + 1, pairEnd) } else { ""
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:10:43 GMT 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
var totalExceptionRuleBytes = 0 fileSystem.source(publicSuffixListDotDat).buffer().use { source -> while (!source.exhausted()) { var rule: ByteString = source.readUtf8LineStrict().toRule() ?: continue if (rule.startsWith(EXCEPTION_RULE_MARKER)) { rule = rule.substring(1) // We use '\n' for end of value. totalExceptionRuleBytes += rule.size + 1
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:24:38 GMT 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
val result = mutableListOf<String>() for (subjectAltName in subjectAltNames) { if (subjectAltName == null || subjectAltName.size < 2) continue if (subjectAltName[0] != type) continue val altName = subjectAltName[1] ?: continue result.add(altName as String) } return result } catch (_: CertificateParsingException) { return emptyList() } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpStatusCodes.kt
// 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 /** `100 Continue` (HTTP/1.1 - RFC 7231) */ const val HTTP_CONTINUE = 100 /** `102 Processing` (WebDAV - RFC 2518) */ const val HTTP_PROCESSING = 102 /** `103 Early Hints (Early Hints - RFC 8297)` */ const val HTTP_EARLY_HINTS = 103
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/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt
} name.equals("Pragma", ignoreCase = true) -> { // Might specify additional cache-control params. We invalidate just in case. canUseHeaderValue = false } else -> { continue@loop } } var pos = 0 while (pos < value.length) { val tokenStart = pos pos = value.indexOfElement("=,;", pos) val directive = value.substring(tokenStart, pos).trim()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
else -> { connectionUser.acquireConnectionNoEvents(connection) true } } } if (!acquired) continue // Confirm the connection is healthy and return it. if (connection.isHealthy(doExtensiveHealthChecks)) return 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/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
val value = cachedHeaders.value(index) if ("Warning".equals(fieldName, ignoreCase = true) && value.startsWith("1")) { // Drop 100-level freshness warnings. continue } if (isContentSpecificHeader(fieldName) || !isEndToEnd(fieldName) || networkHeaders[fieldName] == null ) { result.addLenient(fieldName, value) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
MockResponse.Builder() .add100Continue() .build(), ) val request = Request.Builder() .url(server.url("/")) .header("Expect", "100-continue") .post("abc".toRequestBody("text/plain".toMediaType())) .build() executeSynchronously(request) .assertCode(200) .assertSuccessful()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
when { // Compute the delay of the soonest-executable task. candidateDelay > 0L -> { minDelayNanos = minOf(candidateDelay, minDelayNanos) continue@eachQueue } // If we already have more than one task, that's enough work for now. Stop searching. readyTask != null -> { multipleReadyTasks = true
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 10.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
val maxStaleSecondsLong = timeUnit.toSeconds(maxStale.toLong()) this.maxStaleSeconds = maxStaleSecondsLong.commonClampToInt() } /** * Sets the minimum number of seconds that a response will continue to be fresh for. If the * response will be stale when [minFresh] have elapsed, the cached response will not be used and * a network request will be made. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 10K bytes - Viewed (0)