Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IncompleteBody (0.12 sec)

  1. cmd/erasure-object.go

    	if erasureErr != nil {
    		return ObjectInfo{}, toObjectErr(erasureErr, minioMetaBucket, key)
    	}
    
    	// Should return IncompleteBody{} error when reader has fewer bytes
    	// than specified in request header.
    	if n < data.Size() {
    		return ObjectInfo{}, IncompleteBody{Bucket: minioMetaBucket, Object: key}
    	}
    	var index []byte
    	if opts.IndexCB != nil {
    		index = opts.IndexCB()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	closeBitrotWriters(writers)
    	if err != nil {
    		return pi, toObjectErr(err, bucket, object)
    	}
    
    	// Should return IncompleteBody{} error when reader has fewer bytes
    	// than specified in request header.
    	if n < data.Size() {
    		return pi, IncompleteBody{Bucket: bucket, Object: object}
    	}
    
    	for i := range writers {
    		if writers[i] == nil {
    			onlineDisks[i] = nil
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		Code:           "PolicyTooLarge",
    		Description:    "Policy exceeds the maximum allowed document size.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrIncompleteBody: {
    		Code:           "IncompleteBody",
    		Description:    "You did not provide the number of bytes specified by the Content-Length HTTP header.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInternalError: {
    		Code:           "InternalError",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top