Depending on whether the bucket name is included in the hostname in the S3 compatible request, a request to check the existence of a bucket has either of these formats:
•With the bucket name included in the hostname:
HEAD / HTTP/1.1
•With the bucket name following the hostname:
HEAD /bucket-name HTTP/1.1
© 2015, 2020 Hitachi Vantara LLC. All rights reserved.