'HTTP DELETE request handler.'

@public
def DELETE(self, req):

    if req.query_string:
        return HTTPBadRequest(request=req)
    if (not self.app.allow_account_management):
        return HTTPMethodNotAllowed(request=req, headers={'Allow': ',    '.join(self.allowed_methods)})
    (account_partition, accounts) = self.app.account_ring.get_nodes(self.account_name)
    headers = self.generate_request_headers(req)
    clear_info_cache(self.app, req.environ, self.account_name)
    resp = self.make_requests(req, self.app.account_ring, account_partition, 'DELETE', req.swift_entity_path, ([headers] * len(accounts)))
    return resp
