'This method checks if the browser was redirected (using a 302 code)
or is being told to be redirected by javascript or
<meta http-equiv="refresh"
One day we should be able to identify all redirect methods:
http://code.google.com/p/html5security/wiki/RedirectionMethods'

def _find_redirect(self, response):

    lheaders = response.get_lower_case_headers()
    response = (self._30x_code_redirect(response, lheaders) or self._refresh_redirect(response, lheaders) or self._meta_redirect(response) or self._javascript_redirect(response))
    return response
