'HTTP POST request handler.'

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

    error_response = (self.clean_acls(req) or check_metadata(req, 'container'))
    if error_response:
        return error_response
    if (not req.environ.get('swift_owner')):
        for key in self.app.swift_owner_headers:
            req.headers.pop(key, None)
    (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.generate_request_headers(req, transfer=True)
    clear_info_cache(self.app, req.environ, self.account_name, self.container_name)
    resp = self.make_requests(req, self.app.container_ring, container_partition, 'POST', req.swift_entity_path, ([headers] * len(containers)))
    return resp
