'Return the HTTP user sent with this request, if any.
If no user was supplied, return the empty string.
@returns: the HTTP user, if any
@rtype: C{bytes}'

def getUser(self):

    try:
        return self.user
    except:
        pass
    self._authorize()
    return self.user
