For now we are aware that the checksum verification is not supported by cloudflare r2 https://developers.cloudflare.com/r2/api/s3/api/
()
| 102 | // For now we are aware that the checksum verification is not supported by cloudflare r2 |
| 103 | // https://developers.cloudflare.com/r2/api/s3/api/ |
| 104 | func (b *Backend) checksumVerificationEnabled() bool { |
| 105 | var enabled = true |
| 106 | if b.customEndpoint != "" && strings.Contains(b.customEndpoint, "r2.cloudflarestorage.com") { |
| 107 | enabled = false |
| 108 | } |
| 109 | |
| 110 | return enabled |
| 111 | } |
| 112 | |
| 113 | // Extract the custom endpoint and the bucket name from the location string |
| 114 | // The location string can be either a bucket name or a URL |
no outgoing calls