Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AuthorizationHeaderMalformed (0.09 sec)

  1. cmd/api-response.go

    		w.Header().Set(xhttp.RetryAfter, "60")
    	}
    
    	switch err.Code {
    	case "InvalidRegion":
    		err.Description = fmt.Sprintf("Region does not match; expecting '%s'.", globalSite.Region())
    	case "AuthorizationHeaderMalformed":
    		err.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", globalSite.Region())
    	}
    
    	// Similar check to http.checkWriteHeaderCode
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Description:    "The operation is not valid for the current state of the object.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAuthorizationHeaderMalformed: {
    		Code:           "AuthorizationHeaderMalformed",
    		Description:    "The authorization header is malformed; the region is wrong; expecting 'us-east-1'.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMalformedPOSTRequest: {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
Back to top