diff --git a/minio/helpers.py b/minio/helpers.py index 50863bfe..81325747 100644 --- a/minio/helpers.py +++ b/minio/helpers.py @@ -725,9 +725,6 @@ def build( # CreateBucket API requires path style in Amazon AWS S3. (method == "PUT" and not object_name and not query_params) or - # GetBucketLocation API requires path style in Amazon AWS S3. - (query_params and "location" in query_params) or - # Use path style for bucket name containing '.' which causes # SSL certificate validation error. ("." in bucket_name and self._url.scheme == "https")