Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for generateInitiateMultipartUploadResponse (0.15 sec)

  1. cmd/api-response.go

    		ETag:         "\"" + etag + "\"",
    		LastModified: amztime.ISO8601Format(lastModified.UTC()),
    	}
    }
    
    // generates InitiateMultipartUploadResponse for given bucket, key and uploadID.
    func generateInitiateMultipartUploadResponse(bucket, key, uploadID string) InitiateMultipartUploadResponse {
    	return InitiateMultipartUploadResponse{
    		Bucket:   bucket,
    		Key:      key,
    		UploadID: uploadID,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    	res, err := newMultipartUpload(ctx, bucket, object, opts)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	response := generateInitiateMultipartUploadResponse(bucket, object, res.UploadID)
    	if res.ChecksumAlgo != "" {
    		w.Header().Set(xhttp.AmzChecksumAlgo, res.ChecksumAlgo)
    	}
    	encodedSuccessResponse := encodeResponse(response)
    
    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