Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StatusLengthRequired (0.11 sec)

  1. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingContentLength: {
    		Code:           "MissingContentLength",
    		Description:    "You must provide the Content-Length HTTP header.",
    		HTTPStatusCode: http.StatusLengthRequired,
    	},
    	ErrMissingContentMD5: {
    		Code:           "MissingContentMD5",
    		Description:    "Missing required header for this request: Content-Md5.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    			dataLen:            len(bytesData),
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			fault:              MissingContentLength,
    			expectedRespStatus: http.StatusLengthRequired,
    			wantAPICode:        "MissingContentLength",
    		},
    		// Test Case with invalid header key X-Amz-Storage-Class
    		6: {
    			bucketName:         bucketName,
    			objectName:         objectName,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top