mirror of
https://github.com/rclone/rclone.git
synced 2025-03-31 22:25:14 +08:00

The API endpoint GetBucketLocation requires top level permission. If we do an authenticated head request to a bucket, the bucket location will be returned in the HTTP headers. Fixes #5066