'Retrieve object\'s data.'

def get_object(self, container, object_name, metadata=None):

    headers = {}
    if metadata:
        for key in metadata:
            headers[str(key)] = metadata[key]
    url = '{0}/{1}'.format(container, object_name)
    (resp, body) = self.get(url, headers=headers)
    self.expected_success([200, 206], resp.status)
    return (resp, body)
