'Gets object metadata.
:param account: The object\'s account.
:param container: The object\'s container.
:param obj: The object.
:param metadata_prefix: Used to filter values from the headers
returned.  Will strip that prefix from the
keys in the dict returned.  Defaults to \'\'.
:param acceptable_statuses: List of status for valid responses,
defaults to (2,).
:param headers: extra headers to send with request
:returns: Dict of object metadata.
:raises UnexpectedResponse: Exception raised when requests fail
to get a response with an acceptable status
:raises Exception: Exception is raised when code fails in an
unexpected way.'

def get_object_metadata(self, account, container, obj, metadata_prefix='', acceptable_statuses=(2,), headers=None):

    path = self.make_path(account, container, obj)
    return self._get_metadata(path, metadata_prefix, acceptable_statuses, headers=headers)
