I’m looking to use the SDK (can’t use ASI) to do HEAD requests on objects before I download them to determine the size. Is there a provided way to do this I’m overlooking, or am I forced to build up my own S3Request, setting the httpMethod property to be “HEAD” and passing the constructed S3Request to the invoke: method of AmazonS3Client ?
Building the request myself gets a little dicey as I’m using federated users, so I wanted to make sure I wasn’t duplicating something I had overlooked.
Turned out to be fairly straight forward, but still wondering if there’s a more accepted way of doing a HEAD.