'Update image metadata.
image_meta: image metadata as a dictionary
Returns: a tuple of (http response headers, http response body)'

def add_image_meta(self, image_meta):

    url = ('/v1/images/%s' % image_meta['id'])
    headers = self._dict_to_headers(image_meta)
    headers['Content-Type'] = 'application/octet-stream'
    response = self._http_request('PUT', url, headers, '')
    headers = self._header_list_to_dict(response.getheaders())
    LOG.debug('Image    post    done')
    body = response.read()
    return (headers, body)
