diff --git a/bucket-cache.go b/bucket-cache.go index b7d99c693..cafb4568b 100644 --- a/bucket-cache.go +++ b/bucket-cache.go @@ -127,8 +127,11 @@ func processBucketLocationResponse(resp *http.Response, bucketName string) (buck // succeed if possible based on their policy. switch errResp.Code { case "NotImplemented": - if errResp.Server == "AmazonSnowball" { + switch errResp.Server { + case "AmazonSnowball": return "snowball", nil + case "cloudflare": + return "us-east-1", nil } case "AuthorizationHeaderMalformed": fallthrough