Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setPutObjHeaders (0.15 sec)

  1. cmd/object-handlers-common.go

    		return true
    	}
    	return canonicalizeETag(left) == canonicalizeETag(right)
    }
    
    // setPutObjHeaders sets all the necessary headers returned back
    // upon a success Put/Copy/CompleteMultipart/Delete requests
    // to activate delete only headers set delete as true
    func setPutObjHeaders(w http.ResponseWriter, objInfo ObjectInfo, delete bool, h http.Header) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		scheduleReplication(ctx, objInfo, objectAPI, dsc, replication.ObjectReplicationType)
    	}
    
    	setPutObjHeaders(w, objInfo, false, r.Header)
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the x-amz-copy-source-version-id header key to be literally
    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/object-multipart-handlers.go

    		if _, err := updateObjectMetadataWithZipInfo(ctx, objectAPI, bucket, object, opts); err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    	setPutObjHeaders(w, objInfo, false, r.Header)
    	if dsc := mustReplicate(ctx, bucket, object, objInfo.getMustReplicateOptions(replication.ObjectReplicationType, opts)); dsc.ReplicateAny() {
    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