You use the HTTP HEAD method to check whether an object, a version of an object, or a range of versions of an object exists in a namespace. These requests also retrieve the metadata for the object without retrieving the object data. The metadata is returned in HTTP response headers.
An HTTP 200 (OK) return code indicates that the requested object or object versions exist. An HTTP 404 (Not Found) return code indicates that the specified URL does not identify the object or its versions. Even if versioning is currently disabled, the method returns a 200 code and metadata if the requested version exists.
Using HEAD with a symbolic link checks the existence of the object that’s the target of the link.
© 2015 Hitachi Data Systems Corporation. All rights reserved.