@property
def is_redirect(self):
    'True if this Response is a well-formed HTTP redirect that could have\n        been processed automatically (by :meth:`Session.resolve_redirects`).\n        '
    return (('location' in self.headers) and (self.status_code in REDIRECT_STATI))
True if this Response is a well-formed HTTP redirect that could have
been processed automatically (by :meth:`Session.resolve_redirects`).
@property
def is_redirect(self):
    'True if this Response is a well-formed HTTP redirect that could have\n        been processed automatically (by :meth:`Session.resolve_redirects`).\n        '
    return (('location' in self.headers) and (self.status_code in REDIRECT_STATI))