

@_handle_container_not_found
def get_cdn_metadata(self, container):
    '\n        Returns a dictionary containing the CDN metadata for the container. If\n        the container does not exist, a NotFound exception is raised. If the\n        container exists, but is not CDN-enabled, a NotCDNEnabled exception is\n        raised.\n        '
    uri = ('%s/%s' % (self.uri_base, utils.get_name(container)))
    (resp, resp_body) = self.api.cdn_request(uri, 'HEAD')
    ret = dict(resp.headers)
    ret.pop('content-length', None)
    ret.pop('content-type', None)
    ret.pop('date', None)
    return ret

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py ContainerManager.get_cdn_metadata/original