Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/object-lambda-handlers.go

    	"Request Timeout":                 http.StatusRequestTimeout,
    	"Conflict":                        http.StatusConflict,
    	"Gone":                            http.StatusGone,
    	"Length Required":                 http.StatusLengthRequired,
    	"Precondition Failed":             http.StatusPreconditionFailed,
    	"Request Entity Too Large":        http.StatusRequestEntityTooLarge,
    	"Request URI Too Long":            http.StatusRequestURITooLong,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers_test.go

    		// Expecting the HTTP response status to be StatusLengthRequired (411).
    		{
    			bucketName:         bucketName,
    			bucketPolicyReader: bytes.NewReader([]byte(fmt.Sprintf(bucketPolicyTemplate, bucketName, bucketName))),
    
    			policyLen:          0,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusLengthRequired,
    		},
    		// Test case - 4.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. 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)
  4. 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