Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for writeSuccessResponseHeadersOnly (0.18 sec)

  1. cmd/admin-handlers-pools.go

    	if !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	// Cancel any ongoing rebalance operation
    	globalNotificationSys.StopRebalance(r.Context())
    	writeSuccessResponseHeadersOnly(w)
    	adminLogIf(ctx, pools.saveRebalanceStats(GlobalContext, 0, rebalSaveStoppedAt))
    	globalNotificationSys.LoadRebalanceMeta(ctx, false)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    			VersionID: objInfo.VersionID,
    			Status:    http.StatusText(http.StatusOK),
    		})
    	}
    
    	// Do not send checksums in events to avoid leaks.
    	hash.TransferChecksumHeader(w, r)
    	writeSuccessResponseHeadersOnly(w)
    
    	// Remove the transitioned object whose object version is being overwritten.
    	if !globalTierConfigMgr.Empty() {
    		// Schedule object for immediate transition if eligible.
    		objInfo.ETag = origETag
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		if nerr.Err != nil {
    			logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    			adminLogIf(ctx, nerr.Err)
    		}
    	}
    
    	// Reply to the client before restarting, stopping MinIO server.
    	writeSuccessResponseHeadersOnly(w)
    
    	switch serviceSig {
    	case serviceFreeze:
    		freezeServices()
    	case serviceUnFreeze:
    		unfreezeServices()
    	case serviceRestart, serviceStop:
    		globalServiceSignalCh <- serviceSig
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. cmd/api-response.go

    func writeRedirectSeeOther(w http.ResponseWriter, location string) {
    	w.Header().Set(xhttp.Location, location)
    	writeResponse(w, http.StatusSeeOther, nil, mimeNone)
    }
    
    func writeSuccessResponseHeadersOnly(w http.ResponseWriter) {
    	writeResponse(w, http.StatusOK, nil, mimeNone)
    }
    
    // writeErrorResponse writes error headers
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. cmd/admin-bucket-handlers.go

    		bucketMeta.Quota = nil
    	}
    
    	// Call site replication hook.
    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, bucketMeta))
    
    	// Write success response.
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // GetBucketQuotaConfigHandler - gets bucket quota configuration
    func (a adminAPIHandlers) GetBucketQuotaConfigHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. cmd/object-multipart-handlers.go

    	// Therefore, we have to set the ETag directly as map entry.
    	w.Header()[xhttp.ETag] = []string{"\"" + etag + "\""}
    	hash.TransferChecksumHeader(w, r)
    
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // CompleteMultipartUploadHandler - Complete multipart upload.
    func (api objectAPIHandlers) CompleteMultipartUploadHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top