601
601
def http_error_301(self, req, fp, code, msg, headers):
602
602
response = self.http_error_30x(req, fp, code, msg, headers)
604
604
# redirection chain, we MUST update the original request
605
605
# to indicate where the URI where finally found.
608
608
while original_req.parent is not None:
609
609
original_req = original_req.parent