Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MissingContentLength (0.19 sec)

  1. 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,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Description:    "The XML you provided was not well-formed or did not validate against our published schema.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingContentLength: {
    		Code:           "MissingContentLength",
    		Description:    "You must provide the Content-Length HTTP header.",
    		HTTPStatusCode: http.StatusLengthRequired,
    	},
    	ErrMissingContentMD5: {
    		Code:           "MissingContentMD5",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 06 05:26:02 GMT 2024
    - 90.2K bytes
    - Viewed (6)
Back to top