- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for writeSuccessResponseJSON (0.09 sec)
-
cmd/tier-handlers.go
if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } w.Header().Set(tierCfgRefreshAtHdr, globalTierConfigMgr.refreshedAt().String()) writeSuccessResponseJSON(w, data) } func (api adminAPIHandlers) EditTierHandler(w http.ResponseWriter, r *http.Request) { ctx := r.Context() objAPI, cred := validateAdminReq(ctx, w, r, policy.SetTierAction)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:44:05 UTC 2024 - 7.5K bytes - Viewed (0) -
cmd/bucket-policy-handlers.go
return } configData, err := json.Marshal(config) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Write to client. writeSuccessResponseJSON(w, configData)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.1K bytes - Viewed (0)