Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for StatusLengthRequired (0.72 seconds)

  1. cmd/bucket-policy-handlers_test.go

    		// Expecting the HTTP response status to be StatusLengthRequired (411).
    		{
    			bucketName:         bucketName,
    			bucketPolicyReader: bytes.NewReader(fmt.Appendf(nil, bucketPolicyTemplate, bucketName, bucketName)),
    
    			policyLen:          0,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusLengthRequired,
    		},
    		// Test case - 4.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  2. 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 or invalid required header for this request: Content-Md5 or Amz-Content-Checksum",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  3. 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,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  4. api/go1.txt

    pkg net/http, const StatusGone ideal-int
    pkg net/http, const StatusHTTPVersionNotSupported ideal-int
    pkg net/http, const StatusInternalServerError ideal-int
    pkg net/http, const StatusLengthRequired ideal-int
    pkg net/http, const StatusMethodNotAllowed ideal-int
    pkg net/http, const StatusMovedPermanently ideal-int
    pkg net/http, const StatusMultipleChoices ideal-int
    pkg net/http, const StatusNoContent ideal-int
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  5. api/go1.1.txt

    pkg net/http, const StatusGatewayTimeout = 504
    pkg net/http, const StatusGone = 410
    pkg net/http, const StatusHTTPVersionNotSupported = 505
    pkg net/http, const StatusInternalServerError = 500
    pkg net/http, const StatusLengthRequired = 411
    pkg net/http, const StatusMethodNotAllowed = 405
    pkg net/http, const StatusMovedPermanently = 301
    pkg net/http, const StatusMultipleChoices = 300
    pkg net/http, const StatusNoContent = 204
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Click Count (0)
Back to Top