- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 128 for contentLength (1.13 sec)
-
cmd/api-response.go
statusCode = http.StatusInternalServerError } setCommonHeaders(w) if mType != mimeNone { w.Header().Set(xhttp.ContentType, string(mType)) } w.Header().Set(xhttp.ContentLength, strconv.Itoa(len(response))) w.WriteHeader(statusCode) if response != nil { w.Write(response) } } // mimeType represents various MIME type used API responses. type mimeType string
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 33.7K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
if err != nil { c.Fatalf("unexpected json encode err: %v", err) } buf, err = madmin.EncryptData(secretKey, buf) if err != nil { c.Fatalf("unexpected encryption err: %v", err) } req.ContentLength = int64(len(buf)) sum := sha256.Sum256(buf) req.Header.Set("X-Amz-Content-Sha256", hex.EncodeToString(sum[:])) req.Body = io.NopCloser(bytes.NewReader(buf)) req = signer.SignV4(*req, accessKey, secretKey, "", "")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 47.4K bytes - Viewed (0) -
cmd/encryption-v1.go
// and sets the correct headers. func EncryptRequest(content io.Reader, r *http.Request, bucket, object string, metadata map[string]string) (io.Reader, crypto.ObjectKey, error) { if r.ContentLength > encryptBufferThreshold { // The encryption reads in blocks of 64KB. // We add a buffer on bigger files to reduce the number of syscalls upstream. content = bufio.NewReaderSize(content, encryptBufferSize) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) // execute the HTTP request to fetch the object. response, err = s.client.Do(request) c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK) c.Assert(response.ContentLength, int64(len([]byte("hello world")))) var buffer2 bytes.Buffer // retrieve the contents of response body. n, err := io.Copy(&buffer2, response.Body) c.Assert(err, nil)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
authentication failures through a single method. An adapter for the old authenticator is available in the `okhttp-urlconnection` module. * Fix: Don't throw `IOException` on `ResponseBody.contentLength()` or `close()`. * Fix: Never throw converting an `HttpUrl` to a `java.net.URI`. This changes the `uri()` method to handle malformed percent-escapes and characters forbidden by `URI`.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
Arrays.fill(buffer, 'x'.code.toByte()) return object : RequestBody() { override fun contentType() = "text/plain; charset=utf-8".toMediaType() override fun contentLength(): Long = if (chunked) -1L else size override fun writeTo(sink: BufferedSink) { var count = 0 while (count < size) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/internal/_RequestBodyCommonKt$commonToRequestBody$1;-><init>(Lokhttp3/MediaType;I[BI)V HSPLokhttp3/internal/_RequestBodyCommonKt$commonToRequestBody$1;->contentLength()J HSPLokhttp3/internal/_RequestBodyCommonKt$commonToRequestBody$1;->contentType()Lokhttp3/MediaType; HSPLokhttp3/internal/_RequestBodyCommonKt$commonToRequestBody$1;->writeTo(Lokio/BufferedSink;)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/common/help.jsp
between the lower and upper bound specified by the Range Query. Range Queries can be inclusive or exclusive of the upper and lower bounds. If you want to find documents whose content_length fields have values between 1000 and 10000, inclusive, you can enter: <pre>content_length:[1000 TO 10000]</pre> If you want to exclude the upper and lower bounds, use "{}". </dd> <dt>Boost</dt> <dd>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Feb 26 14:01:31 UTC 2018 - 2.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/common/help_ja.jsp
<pre>Fe?s</pre> 検索語の先頭文字では利用できません。 </dd> <dt>範囲検索</dt> <dd> 範囲検索はフィールド値の範囲を指定することでその条件にマッチするドキュメントを検索します。 範囲の境界値を含める場合は [] を利用して、含めない場合は {} を利用します。 たとえば、content_length フィールドが 1000 から 10000 の値を持つドキュメントを検索する場合は次のように入力します。 <pre>content_length:[1000 TO 10000]</pre> </dd> <dt>ブースト検索</dt> <dd> ブースト検索は検索語の後に ^ を指定することで利用できます。 ^ の後に重み要因を整数で指定することで、その検索語がブーストされます。 <pre>Fess^100</pre> </dd> <dt>あいまい検索</dt>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Feb 26 14:01:31 UTC 2018 - 3.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/common/help_ko.jsp
<pre>Fe?s</pre> 검색어의 첫 번째 문자는 사용할 수 없습니다. </dd> <dt>범위검색</dt> <dd> 범위 검색 필드 값의 범위를 지정하여 그 조건에 일치하는 문서를 검색합니다. 범위의 경계 값을 포함하려면 []를 사용하여 포함하지 않는 경우는 {}을 이용합니다. 예를 들어, content_length 필드가 1000에서 10000의 값을 가진 문서를 검색하려면 다음과 같이 입력합니다. <pre>content_length:[1000 TO 10000]</pre> </dd> <dt>부스트(Boost)검색</dt> <dd> 부스트 검색은 검색어 뒤에 ^을 지정하여 사용할 수 있습니다. ^ 다음에 가중치 값을 정수로 지정하여 그 검색어가 향상됩니다. <pre>Fess^100</pre> </dd>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Feb 26 14:01:31 UTC 2018 - 3.1K bytes - Viewed (0)