- Sort Score
- Result 10 results
- Languages All
Results 941 - 950 of 1,093 for _body (0.02 sec)
-
docs/zh-hant/docs/index.md
- 如果驗證失敗,將會返回清楚有用的錯誤訊息。 - 查看 `GET` 請求中是否有命名為 `q` 的查詢參數 (例如 `http://127.0.0.1:8000/items/foo?q=somequery`)。 - 因為 `q` 參數被宣告為 `= None`,所以是選填的。 - 如果沒有宣告 `None`,則此參數將會是必填 (例如 `PUT` 範例的請求 body)。 - 對於 `PUT` 的請求 `/items/{item_id}`,將會讀取 body 為 JSON: - 驗證是否有必填屬性 `name` 且型別是 `str`。 - 驗證是否有必填屬性 `price` 且型別是 `float`。 - 驗證是否有選填屬性 `is_offer` 且型別是 `bool`。 - 以上驗證都適用於多層次巢狀 JSON 物件。 - 自動轉換 JSON 格式。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/searchResults.jsp
<h3 class="title text-truncate"> <a class="link" href="${doc.url_link}" data-uri="${doc.url_link}" data-id="${doc.doc_id}" data-order="${s.index}">${doc.content_title}</a> </h3> <div class="body"> <c:if test="${thumbnailSupport && !empty doc.thumbnail}"> <div class="me-3"> <a class="link d-none d-sm-flex" href="${doc.url_link}" data-uri="${doc.url_link}" data-id="${doc.doc_id}"
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 9.2K bytes - Viewed (0) -
internal/event/target/webhook.go
} req.Header.Set("Content-Type", "application/json") resp, err := target.httpClient.Do(req) if err != nil { return err } xhttp.DrainBody(resp.Body) if resp.StatusCode >= 200 && resp.StatusCode <= 299 { // accepted HTTP status codes. return nil } else if resp.StatusCode == http.StatusForbidden {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.8K bytes - Viewed (0) -
internal/s3select/select_test.go
t.Fatal(err) } w := &testResponseWriter{} s3Select.Evaluate(w) s3Select.Close() resp := http.Response{ StatusCode: http.StatusOK, Body: io.NopCloser(bytes.NewReader(w.response)), ContentLength: int64(len(w.response)), } res, err := minio.NewSelectResults(&resp, "testbucket") if err != nil { t.Error(err) return }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 76.1K bytes - Viewed (0) -
buildscripts/multipart-quorum-test.sh
truncate -s 5MiB file-5mib for i in {1..2}; do aws --endpoint-url http://localhost:"$start_port" s3api upload-part \ --upload-id "$uploadId" --bucket bucket --key obj-1 \ --part-number "$i" --body ./file-5mib done for i in {1..6}; do find ${WORK_DIR}/disk${i}/.minio.sys/multipart/ -type f -name "part.1" -delete done cat <<EOF >parts.json { "Parts": [ { "PartNumber": 1,Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 10:51:23 UTC 2024 - 2.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds. * * The call timeout spans the entire call: resolving DNS, connecting, writing the request body, * server processing, and reading the response body. If the call requires redirects or retries * all must complete within one timeout period. * * The default value is 0 which imposes no timeout. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 51.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
* limitations under the License. */ package okhttp3 import java.nio.charset.Charset /** * An [RFC 2045][rfc_2045] Media Type, appropriate to describe the content type of an HTTP request * or response body. * * [rfc_2045]: http://tools.ietf.org/html/rfc2045 */ class MediaType internal constructor( internal val mediaType: String, /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:51:08 UTC 2025 - 5.9K bytes - Viewed (0) -
cmd/handler-utils.go
func parseLocationConstraint(r *http.Request) (location string, s3Error APIErrorCode) { // If the request has no body with content-length set to 0, // we do not have to validate location constraint. Bucket will // be created at default region. locationConstraint := createBucketLocationConfiguration{} err := xmlDecoder(r.Body, &locationConstraint, r.ContentLength) if err != nil && r.ContentLength != 0 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 16.4K bytes - Viewed (1) -
cmd/bucket-policy-handlers.go
if r.ContentLength > maxBucketPolicySize { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPolicyTooLarge), r.URL) return } bucketPolicyBytes, err := io.ReadAll(io.LimitReader(r.Body, r.ContentLength)) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } bucketPolicy, err := policy.ParseBucketPolicyConfig(bytes.NewReader(bucketPolicyBytes), bucket)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/bucket-handlers.go
func multipartReader(r *http.Request) (*multipart.Reader, error) { v := r.Header.Get("Content-Type") if v == "" { return nil, http.ErrNotMultipart } if r.Body == nil { return nil, errors.New("missing form body") } d, params, err := mime.ParseMediaType(v) if err != nil { return nil, http.ErrNotMultipart } if d != "multipart/form-data" { return nil, http.ErrNotMultipart }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 63.9K bytes - Viewed (0)