- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for writeSuccessNoContent (0.26 sec)
-
cmd/tier-handlers.go
err = globalTierConfigMgr.Save(ctx, objAPI) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } globalNotificationSys.LoadTransitionTierConfig(ctx) writeSuccessNoContent(w) } func (api adminAPIHandlers) ListTierHandler(w http.ResponseWriter, r *http.Request) { ctx := r.Context() objAPI, _ := validateAdminReq(ctx, w, r, policy.ListTierAction) if objAPI == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 12 20:44:05 UTC 2024 - 7.5K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers.go
return } if _, err := globalBucketMetadataSys.Delete(ctx, bucket, bucketLifecycleConfig); err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Success. writeSuccessNoContent(w)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jan 20 14:49:07 UTC 2025 - 7K bytes - Viewed (0) -
cmd/bucket-handlers.go
Location: w.Header().Get(xhttp.Location), }) writeResponse(w, http.StatusCreated, resp, mimeXML) case "200": writeSuccessResponseHeadersOnly(w) default: writeSuccessNoContent(w) } } // GetBucketPolicyStatusHandler - Retrieves the policy status // for an MinIO bucket, indicating whether the bucket is public.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.9K bytes - Viewed (0) -
cmd/api-response.go
// with content-type set to `application/xml`. func writeSuccessResponseXML(w http.ResponseWriter, response []byte) { writeResponse(w, http.StatusOK, response, mimeXML) } // writeSuccessNoContent writes success headers with http status 204 func writeSuccessNoContent(w http.ResponseWriter) { writeResponse(w, http.StatusNoContent, nil, mimeNone) } // writeRedirectSeeOther writes Location header with http status 303
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/object-handlers.go
Host: handlers.GetSourceIP(r), }) writeSuccessNoContent(w) return } writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } if objInfo.Name == "" { writeSuccessNoContent(w) return } setPutObjHeaders(w, objInfo, true, r.Header) writeSuccessNoContent(w) eventName := event.ObjectRemovedDelete if objInfo.DeleteMarker {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 120.6K bytes - Viewed (0) -
cmd/admin-handlers-users.go
SessionPolicy: madmin.SRSessionPolicy(updateReq.NewPolicy), Expiration: updateReq.NewExpiration, }, }, UpdatedAt: updatedAt, })) } writeSuccessNoContent(w) } // InfoServiceAccount - GET /minio/admin/v3/info-service-account func (a adminAPIHandlers) InfoServiceAccount(w http.ResponseWriter, r *http.Request) { ctx := r.Context()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0) -
cmd/admin-bucket-handlers.go
} if _, err = globalBucketMetadataSys.Update(ctx, bucket, bucketTargetsFile, tgtBytes); err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Write success response. writeSuccessNoContent(w) } // ExportBucketMetadataHandler - exports all bucket metadata as a zipped file func (a adminAPIHandlers) ExportBucketMetadataHandler(w http.ResponseWriter, r *http.Request) { ctx := r.Context()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 33.3K bytes - Viewed (0) -
cmd/batch-handlers.go
writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrInvalidRequest, err), r.URL) return } j := BatchJobRequest{ ID: jobID, } j.delete(ctx, objectAPI) writeSuccessNoContent(w) } //msgp:ignore BatchJobPool // BatchJobPool batch job pool type BatchJobPool struct { ctx context.Context objLayer ObjectLayer once sync.Once
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.5K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
case InvalidUploadID: // Do not have return an error for non-existent upload-id default: writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } } writeSuccessNoContent(w) } // ListObjectPartsHandler - List object parts func (api objectAPIHandlers) ListObjectPartsHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "ListObjectParts")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 39.5K bytes - Viewed (0)