'Retrieve object stat
:param name: The object name
:return: A dict that describe the object
or None if object does not exist'

def get_object_stat(self, name):

    path = ((self.base_path + '/') + name)
    ret = self.httpclient.request('HEAD', path)
    if (ret.status_code == 404):
        return None
    if ((ret.status_code < 200) or (ret.status_code > 300)):
        raise SwiftException(('HEAD    request    failed    with    error    code    %s' % ret.status_code))
    resp_headers = {}
    for (header, value) in ret.items():
        resp_headers[header.lower()] = value
    return resp_headers
