- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 100 for DROP (0.04 sec)
-
internal/http/response-recorder.go
lrw.bytesWritten += n if lrw.ttfbBody == 0 { lrw.ttfbBody = time.Now().UTC().Sub(lrw.StartTime) } if (lrw.LogErrBody && lrw.StatusCode >= http.StatusBadRequest) || lrw.LogAllBody { // If body is > 10MB, drop it. if lrw.bytesWritten+len(p) > 10<<20 { lrw.LogAllBody = false lrw.body = bytes.Buffer{} } else { // Always logging error responses. lrw.body.Write(p) } } if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt
if (index != -1) { // Index -1 == new header. delta -= dynamicTable[dynamicTableIndex(index)]!!.hpackSize } // if the new or replacement header is too big, drop all entries. if (delta > maxDynamicTableByteCount) { clearDynamicTable() return } // Evict headers to the required length.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
val fieldName = cachedHeaders.name(index) 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 ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Mar 22 07:09:21 UTC 2024 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
} static double select(int k, double[] array) { // This is basically a copy of com.google.math.Rank#select, with a small change in the method // signature: we make k 0-based rather than 1-based; and we drop from and to, and always work on // the whole array. int from = 0; int to = array.length - 1; while (true) { if (to <= from + 1) { // Two or less elements left.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
requestBuilder.removeHeader("Transfer-Encoding") requestBuilder.removeHeader("Content-Length") requestBuilder.removeHeader("Content-Type") } } // When redirecting across hosts, drop all authentication headers. This // is potentially annoying to the application layer since they have no // way to retain them. if (!userResponse.request.url.canReuseConnectionFor(url)) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
private fun computeCandidate(): CacheStrategy { // No cached response. if (cacheResponse == null) { return CacheStrategy(request, null) } // Drop the cached response if it's missing a required handshake. if (request.isHttps && cacheResponse.handshake == null) { return CacheStrategy(request, null) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
} else { // Otherwise the rule is for a public suffix, so we must take one more label. domainLabels.size - (rule.size + 1) } return splitDomain(domain).asSequence().drop(firstLabelOffset).joinToString(".") } private fun splitDomain(domain: String): List<String> { val domainLabels = domain.split('.') if (domainLabels.last() == "") {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashMap.java
@ElementTypesAreNonnullByDefault class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object> extends CompactHashMap<K, V> { // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement /** Creates an empty {@code CompactLinkedHashMap} instance. */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactLinkedHashMap<K, V> create() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
@ElementTypesAreNonnullByDefault class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object> extends CompactHashMap<K, V> { // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement /** Creates an empty {@code CompactLinkedHashMap} instance. */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactLinkedHashMap<K, V> create() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 8.5K bytes - Viewed (0) -
docs/en/docs/deployment/manually.md
A similar process would apply to any other ASGI server program. /// tip By adding the `standard`, Uvicorn will install and use some recommended extra dependencies. That including `uvloop`, the high-performance drop-in replacement for `asyncio`, that provides the big concurrency performance boost. When you install FastAPI with something like `pip install "fastapi[standard]"` you already get `uvicorn[standard]` as well. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Aug 25 02:44:06 UTC 2024 - 7.8K bytes - Viewed (0)