Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for partNumbers (0.12 sec)

  1. cmd/object-handlers_test.go

    	a := 0
    	b := globalMinPartSize
    	var parts []CompletePart
    	for partNumber := 1; partNumber <= 2; partNumber++ {
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		cpPartURL := getCopyObjectPartURL("", bucketName, testObject, uploadID, fmt.Sprintf("%d", partNumber))
    
    		// construct HTTP request for copy object.
    		var req *http.Request
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	// Get request range.
    	var rs *HTTPRangeSpec
    	var rangeErr error
    	rangeHeader := r.Header.Get(xhttp.Range)
    	if rangeHeader != "" {
    		// Both 'Range' and 'partNumber' cannot be specified at the same time
    		if opts.PartNumber > 0 {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRangePartNumber), r.URL)
    			return
    		}
    
    		rs, rangeErr = parseRequestRangeSpec(rangeHeader)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		}
    		if pInfo.Size != size {
    			return fmt.Errorf("ssec(%t): Part size mismatch: got %d, want %d", isSSEC, pInfo.Size, size)
    		}
    		uploadedParts = append(uploadedParts, minio.CompletePart{
    			PartNumber:     pInfo.PartNumber,
    			ETag:           pInfo.ETag,
    			ChecksumCRC32:  pInfo.ChecksumCRC32,
    			ChecksumCRC32C: pInfo.ChecksumCRC32C,
    			ChecksumSHA1:   pInfo.ChecksumSHA1,
    			ChecksumSHA256: pInfo.ChecksumSHA256,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  4. cmd/server_test.go

    	c.Assert(response2.StatusCode, http.StatusOK)
    
    	// Complete multipart upload
    	completeUploads := &CompleteMultipartUpload{
    		Parts: []CompletePart{
    			{
    				PartNumber: 1,
    				ETag:       response1.Header.Get("ETag"),
    			},
    			{
    				PartNumber: 2,
    				ETag:       response2.Header.Get("ETag"),
    			},
    		},
    	}
    
    	completeBytes, err := xml.Marshal(completeUploads)
    	c.Assert(err, nil)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top