Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AuthorizationHeaderMalformed (0.18 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top