- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 134 for content_length (0.83 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java
* @return the content length */ Long getContentLength(); /** * Sets the content length of the accessed resource. * * @param contentLength the content length */ void setContentLength(Long contentLength); /** * Returns the last modified time of the accessed resource. * * @return the last modified time */ Long getLastModified();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.2K bytes - Viewed (10) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val name: String = formBody.name(0) val encodedValue: String = formBody.encodedValue(0) val value: String = formBody.value(0) val contentType: MediaType = formBody.contentType() val contentLength: Long = formBody.contentLength() formBody.writeTo(Buffer()) val requestBody: RequestBody = formBody } @Test fun formBodyBuilder() { var builder: FormBody.Builder = FormBody.Builder()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 47K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
String contentType = response.getHeaderValue("Content-Type"); String contentLength = response.getHeaderValue("content-length"); // Test case insensitive String missing = response.getHeaderValue("Missing-Header"); assertEquals("application/json", contentType); assertEquals("100", contentLength); assertNull(missing); } @Test public void testGetHeaderValues() {Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/GzipRequestBody.kt
internal class GzipRequestBody( val delegate: RequestBody, ) : RequestBody() { override fun contentType() = delegate.contentType() // We don't know the compressed length in advance! override fun contentLength() = -1L override fun writeTo(sink: BufferedSink) { GzipSink(sink).buffer().use(delegate::writeTo) } override fun isOneShot() = delegate.isOneShot()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 1.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt
val defensiveCopy = clone() return BufferMockResponseBody(defensiveCopy) } internal class BufferMockResponseBody( val buffer: Buffer, ) : MockResponseBody { override val contentLength = buffer.size override fun writeTo(sink: BufferedSink) { buffer.copyTo(sink.buffer) sink.emitCompleteSegments() }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
} private fun uppercase(original: RequestBody?): RequestBody = object : RequestBody() { override fun contentType(): MediaType? = original!!.contentType() override fun contentLength(): Long = original!!.contentLength() override fun writeTo(sink: BufferedSink) { val uppercase = uppercase(sink) val bufferedSink = uppercase.buffer() original!!.writeTo(bufferedSink)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 28.2K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
throw IOException("response: " + response.code + " " + response.message) } val body = response.body if (body.contentLength() > MAX_RESPONSE_SIZE) { throw IOException( "response size exceeds limit ($MAX_RESPONSE_SIZE bytes): ${body.contentLength()} bytes", ) } val responseBytes = body.source().readByteString()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.6K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
* Fields to fetch for access result list without data. */ private static final String[] ACCESS_RESULT_FIELDS = { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime", "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" }; /** * Creates a new instance of OpenSearchDataService. * @param crawlerConfig The crawler configuration. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.1K bytes - Viewed (0) -
cmd/acl-handlers.go
writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } aclHeader := r.Header.Get(xhttp.AmzACL) if aclHeader == "" { acl := &accessControlPolicy{} if err = xmlDecoder(r.Body, acl, r.ContentLength); err != nil { if terr, ok := err.(*xml.SyntaxError); ok && terr.Msg == io.EOF.Error() { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMalformedXML), r.URL) return }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/tier-handlers.go
objAPI, cred := validateAdminReq(ctx, w, r, policy.SetTierAction) if objAPI == nil { return } password := cred.SecretKey reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength)) if err != nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL) return } var cfg madmin.TierConfig json := jsoniter.ConfigCompatibleWithStandardLibrary
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Sep 12 20:44:05 UTC 2024 - 7.5K bytes - Viewed (0)