def _control_response_delete(self, request, query, headers):
    action = self.path.split('?')[0].split('/')[(- 1)]
    self._set_action('CONTROL', 'DELETE', action)
    self._authenticate_and_authorize_s3_action()
    response_headers = {}
    if ('publicAccessBlock' in action):
        self.backend.delete_account_public_access_block(headers['x-amz-account-id'])
        return (200, response_headers, '')
    raise NotImplementedError('Method {0} has not been implemented in the S3 backend yet'.format(action))
def _control_response_delete(self, request, query, headers):
    action = self.path.split('?')[0].split('/')[(- 1)]
    self._set_action('CONTROL', 'DELETE', action)
    self._authenticate_and_authorize_s3_action()
    response_headers = {}
    if ('publicAccessBlock' in action):
        self.backend.delete_account_public_access_block(headers['x-amz-account-id'])
        return (200, response_headers, )
    raise NotImplementedError('Method {0} has not been implemented in the S3 backend yet'.format(action))