'Handles 401\'s, attempts to use gssapi/kerberos authentication'

def handle_401(self, r):

    log.debug('handle_401():    Handling:    401')
    if (_negotiate_value(r) is not None):
        _r = self.authenticate_user(r)
        log.debug(('handle_401():    returning    %s' % _r))
        return _r
    else:
        log.debug('handle_401():    Kerberos    is    not    supported')
        log.debug(('handle_401():    returning    %s' % r))
        return r
