Versioning
By default, the HEAD
operation retrieves metadata from the latest version
of an object. (If the latest version is a delete marker, Amazon S3 behaves as if the
object was deleted.) To retrieve metadata from a different version, use the versionId
sub-resource.
For more information, see Versions in the Amazon Simple Storage Service Developer Guide.
To see sample requests that use versioning, see Sample Request Getting Metadata From a Specified Version of an Object.