'Add, remove, or change X-Object-Meta metadata for storage object.'

def update_object_metadata(self, container, object_name, metadata, metadata_prefix='X-Object-Meta-'):

    headers = {}
    for key in metadata:
        headers[('%s%s' % (str(metadata_prefix), str(key)))] = metadata[key]
    url = ('%s/%s' % (str(container), str(object_name)))
    (resp, body) = self.post(url, None, headers=headers)
    self.expected_success(202, resp.status)
    return (resp, body)
