def __init__(self, code, location):
        super(RedirectError, self).__init__(code)
        self.location = location
Init an HttpError with response code.
dataset/ETHPy150Open michaelliao/transwarp/transwarp/web.py/RedirectError.__init__