'HTTP DELETE request handler.'

@public
@cors_validation
def DELETE(self, req):

    (account_partition, accounts, container_count) = self.account_info(self.account_name, req)
    if (not accounts):
        return HTTPNotFound(request=req)
    (container_partition, containers) = self.app.container_ring.get_nodes(self.account_name, self.container_name)
    headers = self._backend_requests(req, len(containers), account_partition, accounts)
    clear_info_cache(self.app, req.environ, self.account_name, self.container_name)
    resp = self.make_requests(req, self.app.container_ring, container_partition, 'DELETE', req.swift_entity_path, headers)
    if (resp.status_int == HTTP_ACCEPTED):
        return HTTPNotFound(request=req)
    return resp
