(self)
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`).
True if this Response is a well-formed HTTP redirect that could have
        been processed automatically (by :meth:`Session.resolve_redirects`).
True if this Response is a well - formed HTTP redirect that could have been processed automatically ( by : meth : Session . resolve_redirects ) .
def is_redirect(self):
        """True if this Response is a well-formed HTTP redirect that could have
        been processed automatically (by :meth:`Session.resolve_redirects`).
        """
        return ('location' in self.headers and self.status_code in REDIRECT_STATI)
def is_redirect ( self ) : return ( 'location' in self . headers and self . status_code in REDIRECT_STATI )